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
|
import os
|
||||||
try:
|
try:
|
||||||
import importlib
|
import importlib
|
||||||
except:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
is_py3k = sys.hexversion >= 0x03000000
|
is_py3k = sys.hexversion >= 0x03000000
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@ import json
|
|||||||
import hashlib
|
import hashlib
|
||||||
try:
|
try:
|
||||||
import cPickle as pickle
|
import cPickle as pickle
|
||||||
except:
|
except ImportError:
|
||||||
import pickle
|
import pickle
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user