remove except only clauses
This commit is contained in:
1 parent
78f3199b03
commit
c3ba7d2ae8
2 files changed
+2
-2
No files matched your search
@@ -8,7 +8,7 @@ import imp
|
||||
import os
|
||||
try:
|
||||
import importlib
|
||||
except:
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
is_py3k = sys.hexversion >= 0x03000000
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ import json
|
||||
import hashlib
|
||||
try:
|
||||
import cPickle as pickle
|
||||
except:
|
||||
except ImportError:
|
||||
import pickle
|
||||
import shutil
|
||||
|
||||
|
||||
Reference in new issue
Block a user