summaryrefslogtreecommitdiff
path: root/isort/isort.py
diff options
context:
space:
mode:
Diffstat (limited to 'isort/isort.py')
-rw-r--r--isort/isort.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/isort/isort.py b/isort/isort.py
index 8968d5df..5757c009 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -192,8 +192,8 @@ class SortImports(object):
check_output = self.output
check_against = file_contents
if self.config['ignore_whitespace']:
- check_output = check_output.replace(self.line_separator, "").replace(" ", "")
- check_against = check_against.replace(self.line_separator, "").replace(" ", "")
+ check_output = check_output.replace(self.line_separator, "").replace(" ", "").replace("\x0c", "")
+ check_against = check_against.replace(self.line_separator, "").replace(" ", "").replace("\x0c", "")
if check_output.strip() == check_against.strip():
if self.config['verbose']: