fix reload import
This commit is contained in:
parent
60a48ed2e4
commit
986ccb81f4
@ -23,11 +23,11 @@ Does NOT:
|
||||
|
||||
from __future__ import print_function
|
||||
import inspect, os, sys, gc, traceback, types
|
||||
try:
|
||||
from builtins import reload as orig_reload
|
||||
except ImportError:
|
||||
from importlib import reload as orig_reload
|
||||
from .debug import printExc
|
||||
try:
|
||||
from importlib import reload as orig_reload
|
||||
except ImportError:
|
||||
orig_reload = reload
|
||||
|
||||
|
||||
py3 = sys.version_info >= (3,)
|
||||
|
Loading…
x
Reference in New Issue
Block a user