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

Unified Diff: third_party/logilab/common/pyro_ext.py

Issue 719313003: Revert "pylint: upgrade to 1.3.1" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years, 1 month 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/pdf_ext.py ('k') | third_party/logilab/common/pytest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/logilab/common/pyro_ext.py
diff --git a/third_party/logilab/common/pyro_ext.py b/third_party/logilab/common/pyro_ext.py
index 5204b1b266d57e2ce1c62e22060206b00832c2ba..0f4d2790b51e44023c79735d6c036a92806a7e10 100644
--- a/third_party/logilab/common/pyro_ext.py
+++ b/third_party/logilab/common/pyro_ext.py
@@ -118,7 +118,7 @@ def ns_unregister(nsid, defaultnsgroup=_MARKER, nshost=None):
nsgroup, nsid = ns_group_and_id(nsid, defaultnsgroup)
try:
nsd = locate_ns(nshost)
- except errors.PyroError as ex:
+ except errors.PyroError, ex:
# name server not responding
_LOGGER.error('can\'t locate pyro name server: %s', ex)
else:
@@ -159,7 +159,7 @@ def ns_get_proxy(nsid, defaultnsgroup=_MARKER, nshost=None):
try:
nsd = locate_ns(nshost)
pyrouri = nsd.resolve('%s.%s' % (nsgroup, nsid))
- except errors.ProtocolError as ex:
+ except errors.ProtocolError, ex:
raise errors.PyroError(
'Could not connect to the Pyro name server (host: %s)' % nshost)
except errors.NamingError:
« no previous file with comments | « third_party/logilab/common/pdf_ext.py ('k') | third_party/logilab/common/pytest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698