summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorm7v8 <mivo@volkmann.cc>2016-02-03 08:47:59 +0100
committerm7v8 <mivo@volkmann.cc>2016-02-03 08:47:59 +0100
commitdcd997699f64488971d76f8492f64367eb426fbc (patch)
tree9ca9b3378bb8ef7643fbfc49c4d895777c1aa37a
parent22ee0e7e755b2ab2a8e40f4a9983b467b88c941d (diff)
downloadisort-dcd997699f64488971d76f8492f64367eb426fbc.tar.gz
Fix invalid syntax for noqa output
-rw-r--r--isort/isort.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/isort/isort.py b/isort/isort.py
index cc956eb1..90dcd72f 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -605,7 +605,7 @@ class SortImports(object):
return self._output_vertical_grid_common(statement, imports, white_space, indent, line_length, comments) + "\n)"
def _output_noqa(self, statement, imports, white_space, indent, line_length, comments):
- retval = '{0}{1}'.format(statement, ' '.join(imports))
+ retval = '{0}{1}'.format(statement, ', '.join(imports))
comment_str = ' '.join(comments)
if comments:
if len(retval) + 4 + len(comment_str) <= line_length: