summaryrefslogtreecommitdiff
path: root/pyreverse/main.py
diff options
context:
space:
mode:
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