summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2017-05-22 22:31:41 -0700
committerTimothy Crosley <timothy.crosley@gmail.com>2017-05-22 22:31:41 -0700
commit7c9b33a403032d5b2e0830bc7fbbbb74658a1ed9 (patch)
tree730d1719a02c4e6718d58b729da712e82eb07fea
parent16a8f1375abf409367e19963c098edfd1b68676f (diff)
downloadisort-feature/fix-issue-496.tar.gz
Implement a fix for issue #496feature/fix-issue-496
-rw-r--r--isort/isort.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/isort/isort.py b/isort/isort.py
index a1f466c2..7ff4cdb2 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -788,7 +788,7 @@ class SortImports(object):
self.out_lines.append(line)
continue
- line = line.replace("\t", " ")
+ line = line.replace("\t", " ").replace('import*', 'import *')
if self.import_index == -1:
self.import_index = self.index - 1