summaryrefslogtreecommitdiff
path: root/pyreverse/main.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2014-08-29 15:48:24 -0400
committerBrett Cannon <brett@python.org>2014-08-29 15:48:24 -0400
commit8e23aa2b179274c9c1b128a8b3daf8d2e24cfd75 (patch)
treec234e08aa390be9bca941e66e508071e5e44a801 /pyreverse/main.py
parent001469c8272a235b4f62b9b5c3ee248635168ad4 (diff)
parentc2cc31874880d7f0d5bd444c6a3b17fa817e2509 (diff)
downloadpylint-python_6.tar.gz
Merge with defaultpython_6
Diffstat (limited to 'pyreverse/main.py')
-rw-r--r--pyreverse/main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyreverse/main.py b/pyreverse/main.py
index d4991b5..408c172 100644
--- a/pyreverse/main.py
+++ b/pyreverse/main.py
@@ -18,6 +18,7 @@
create UML diagrams for classes and modules in <packages>
"""
+from __future__ import print_function
import sys, os
from logilab.common.configuration import ConfigurationMixIn
@@ -99,7 +100,7 @@ class Run(ConfigurationMixIn):
def run(self, args):
"""checking arguments and run project"""
if not args:
- print self.help()
+ print(self.help())
return 1
# insert current working directory to the python path to recognize
# dependencies to local modules even if cwd is not in the PYTHONPATH