summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2012-10-25 10:03:36 -0700
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-10-25 10:03:37 -0700
commit608aff7f624e35348ff9fab74bad1d6921944238 (patch)
treee1bdbb8af5927dd226d8e22dc382fd24c4cdfa5e /manifest_xml.py
parent13657c407d0424d0866993bea39ed01094caa1c1 (diff)
parenta5be53f9c809009e67f217c00b8f30246aacc237 (diff)
downloadgit-repo-608aff7f624e35348ff9fab74bad1d6921944238.tar.gz
Merge "Use modern Python exception syntax"
Diffstat (limited to 'manifest_xml.py')
-rw-r--r--manifest_xml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index 71dbdc7d..11e4ee54 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -351,7 +351,7 @@ class XmlManifest(object):
351 # tricky. actual parsing implementation may vary. 351 # tricky. actual parsing implementation may vary.
352 except (KeyboardInterrupt, RuntimeError, SystemExit): 352 except (KeyboardInterrupt, RuntimeError, SystemExit):
353 raise 353 raise
354 except Exception, e: 354 except Exception as e:
355 raise ManifestParseError( 355 raise ManifestParseError(
356 "failed parsing included manifest %s: %s", (name, e)) 356 "failed parsing included manifest %s: %s", (name, e))
357 else: 357 else: