summaryrefslogtreecommitdiff
path: root/isort/isort.py
diff options
context:
space:
mode:
Diffstat (limited to 'isort/isort.py')
-rw-r--r--isort/isort.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/isort/isort.py b/isort/isort.py
index 73363e83..0d8d6f09 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -212,7 +212,8 @@ class SortImports(object):
if answer in ('quit', 'q'):
sys.exit(1)
with open(self.file_path, 'w', encoding=self.file_encoding, newline='') as output_file:
- print("Fixing {0}".format(self.file_path))
+ if not self.config['quiet']:
+ print("Fixing {0}".format(self.file_path))
output_file.write(self.output)
@property