Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: third_party/pylint/pyreverse/main.py

Issue 753543006: pylint: upgrade to 1.4.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/pylint/pyreverse/diagrams.py ('k') | third_party/pylint/pyreverse/utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pylint/pyreverse/main.py
diff --git a/third_party/pylint/pyreverse/main.py b/third_party/pylint/pyreverse/main.py
index d4991b53d4632066aa8b0aefbc379f5196254acf..408c1722413326c3d9ec2ad8abf32f5ae81be12c 100644
--- a/third_party/pylint/pyreverse/main.py
+++ b/third_party/pylint/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
« no previous file with comments | « third_party/pylint/pyreverse/diagrams.py ('k') | third_party/pylint/pyreverse/utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698