From c26f740dcd729a1f78e2b187ce79d585a3cc4105 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 13 Jul 2016 08:33:57 +0200 Subject: [PATCH] The import path can be a list as well as a tuple. Deal with it. --- jedi/evaluate/imports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jedi/evaluate/imports.py b/jedi/evaluate/imports.py index 77e13500..15b16e14 100644 --- a/jedi/evaluate/imports.py +++ b/jedi/evaluate/imports.py @@ -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