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 dc5cc7a6..7b054edf 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -219,7 +219,8 @@ class SortImports(object):
if answer in ('quit', 'q'):
sys.exit(1)
with io.open(self.file_path, encoding=self.file_encoding, mode='w', 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