The import path can be a list as well as a tuple. Deal with it.

This commit is contained in:
Dave Halter
2016-07-13 08:33:57 +02:00
parent 45941a7006
commit c26f740dcd

View File

@@ -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