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

Unified Diff: third_party/logilab/common/urllib2ext.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/logilab/common/ureports/text_writer.py ('k') | third_party/pylint/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/logilab/common/urllib2ext.py
diff --git a/third_party/logilab/common/urllib2ext.py b/third_party/logilab/common/urllib2ext.py
index 3e7a36d68da1e8aced55ed1797b84d3eea864a0b..339aec0688699d369e5c3553fbcc942d4d0c973e 100644
--- a/third_party/logilab/common/urllib2ext.py
+++ b/third_party/logilab/common/urllib2ext.py
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
import logging
import urllib2
@@ -84,4 +86,4 @@ if __name__ == '__main__':
# test with url sys.argv[1]
h = HTTPGssapiAuthHandler()
response = urllib2.build_opener(h, ch).open(sys.argv[1])
- print '\nresponse: %s\n--------------\n' % response.code, response.info()
+ print('\nresponse: %s\n--------------\n' % response.code, response.info())
« no previous file with comments | « third_party/logilab/common/ureports/text_writer.py ('k') | third_party/pylint/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698