summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2019-05-12 16:27:09 -0700
committerTimothy Crosley <timothy.crosley@gmail.com>2019-05-12 16:27:09 -0700
commit7c72ba21dfc651096beb23b570e5e50180f05e35 (patch)
tree790db79bec70e2f8fb77785ec88aed22e2cf7135
parent518513fd8f2d6c79bdcbe5acc9a577953385a40a (diff)
downloadisort-7c72ba21dfc651096beb23b570e5e50180f05e35.tar.gz
Remove spaces on empty lines
-rw-r--r--isort/isort.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/isort/isort.py b/isort/isort.py
index a91abed3..3ab68c2d 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -180,12 +180,12 @@ class SortImports(object):
for add_import in self.add_imports:
self.in_lines.append(add_import)
self.number_of_lines = len(self.in_lines)
-
+
if not extension:
self.extension = file_name.split('.')[-1] if file_name else "py"
else:
self.extension = extension
-
+
self.out_lines = []
self.comments = {'from': {}, 'straight': {}, 'nested': {}, 'above': {'straight': {}, 'from': {}}}
self.imports = OrderedDict()