mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-09 13:32:20 +08:00
remove except only clauses
This commit is contained in:
@@ -8,7 +8,7 @@ import imp
|
||||
import os
|
||||
try:
|
||||
import importlib
|
||||
except:
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
is_py3k = sys.hexversion >= 0x03000000
|
||||
|
||||
@@ -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