summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2017-08-31 01:16:09 -0700
committerTimothy Crosley <timothy.crosley@gmail.com>2017-08-31 01:16:09 -0700
commit7a7e54c0e73720995a4687eb47c6fc6087eb52bb (patch)
tree672363b16202bb4e14e5af357af7253517f29afc
parent16f5e211f0d3f6011bf3c133b5cc2d63760540e5 (diff)
downloadisort-feature/fix-issue-590.tar.gz
Remove accidentally committed white spacefeature/fix-issue-590
-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