Remove some of the last py27 errors that were caused in combination with 3.6
This commit is contained in:
1 parent
ec9b8e8c02
commit
35158f693d
2 files changed
+5
-5
No files matched your search
@@ -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
|
||||
]
|
||||
|
||||
|
||||
Reference in new issue
Block a user