summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Edmund Crosley <timothy.crosley@gmail.com>2019-03-08 00:54:21 -0800
committerGitHub <noreply@github.com>2019-03-08 00:54:21 -0800
commit2403ccfe80445e31d0d9d4f3d6f850dcce8fc8ed (patch)
tree7c1593447aed584482a6784190080c317b557848
parent8120d6900ec485ee7f145c33babf6306c7bf8e7a (diff)
downloadisort-2403ccfe80445e31d0d9d4f3d6f850dcce8fc8ed.tar.gz
Update isort.py
-rw-r--r--isort/isort.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/isort/isort.py b/isort/isort.py
index 8cd0d0af..9fd4b639 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -109,7 +109,6 @@ class SortImports(object):
" or matches a glob in 'skip_glob' setting".format(file_path))
file_contents = None
if not self.skipped and not file_contents:
- elif not file_contents:
with io.open(file_path, 'rb') as f:
file_encoding = coding_check(f)
with io.open(file_path, encoding=file_encoding, newline='') as file_to_import_sort: