mirror of
https://git.codelinaro.org/clo/tools/repo.git
synced 2025-06-03 15:56:36 +08:00
Merge "Use modern Python exception syntax"
This commit is contained in:
@ -351,7 +351,7 @@ class XmlManifest(object):
|
||||
# tricky. actual parsing implementation may vary.
|
||||
except (KeyboardInterrupt, RuntimeError, SystemExit):
|
||||
raise
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
raise ManifestParseError(
|
||||
"failed parsing included manifest %s: %s", (name, e))
|
||||
else:
|
||||
|
Reference in New Issue
Block a user