summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--isort/isort.py2
-rw-r--r--test_isort.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/isort/isort.py b/isort/isort.py
index 026abcfa..b25318ed 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -438,7 +438,7 @@ class SortImports(object):
from_comments = self.comments['straight'].get('{}.{}'.format(module, from_import))
section_output.append(self._add_comments(from_comments,
self._wrap(import_start + as_imports[from_import])))
-
+
star_import = False
if "*" in from_imports:
section_output.append(self._add_comments(comments, "{0}*".format(import_start)))
diff --git a/test_isort.py b/test_isort.py
index 991fa6db..2b792abd 100644
--- a/test_isort.py
+++ b/test_isort.py
@@ -2195,7 +2195,7 @@ def test_ensure_as_imports_sort_correctly_within_from_imports_issue_590():
test_input = ('from os import defpath\n'
'from os import pathsep as separator\n')
assert SortImports(file_contents=test_input).output == test_input
-
+
test_input = ('from os import defpath\n'
'from os import pathsep as separator\n')
assert SortImports(file_contents=test_input, force_single_line=True).output == test_input