summaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2014-08-29 12:25:45 -0400
committerBrett Cannon <brett@python.org>2014-08-29 12:25:45 -0400
commitb78012884296c56f1ce9bdecf18ba1862bf757cd (patch)
treec6e314ba5f4202faa974b9e772d294b1211f63d6 /utils.py
parent2a577c77f465d6ba207706933130e4a7007bac52 (diff)
downloadpylint-b78012884296c56f1ce9bdecf18ba1862bf757cd.tar.gz
Fix a missed print statement
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils.py b/utils.py
index 47c5a7f..47d633a 100644
--- a/utils.py
+++ b/utils.py
@@ -868,7 +868,8 @@ def register_plugins(linter, directory):
# empty module name (usually emacs auto-save files)
continue
except ImportError as exc:
- print >> sys.stderr, "Problem importing module %s: %s" % (filename, exc)
+ print("Problem importing module %s: %s" % (filename, exc),
+ file=sys.stderr)
else:
if hasattr(module, 'register'):
module.register(linter)