The import path can be a list as well as a tuple. Deal with it.
This commit is contained in:
1 parent
45941a7006
commit
c26f740dcd
1 file changed
+1
-1
@@ -218,7 +218,7 @@ class Importer(object):
|
||||
debug.warning('Attempted relative import beyond top-level package.')
|
||||
else:
|
||||
# Here we basically rewrite the level to 0.
|
||||
import_path = tuple(base) + import_path
|
||||
import_path = tuple(base) + tuple(import_path)
|
||||
self.import_path = import_path
|
||||
|
||||
@property
|
||||
|
||||
Reference in new issue
Block a user