1
0
forked from VimPlug/jedi

Remove some of the last py27 errors that were caused in combination with 3.6

This commit is contained in:
Dave Halter
2017-12-29 02:45:11 +01:00
parent ec9b8e8c02
commit 35158f693d
2 changed files with 5 additions and 5 deletions

View File

@@ -273,7 +273,7 @@ class Importer(object):
This method is very similar to importlib's `_gcd_import`.
"""
import_parts = [
i.value if isinstance(i, tree.Name) else i
force_unicode(i.value if isinstance(i, tree.Name) else i)
for i in import_path
]