diff options
author | Javier Jardón <jjardon@gnome.org> | 2015-03-17 11:09:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@baserock.org> | 2015-03-17 11:09:44 +0000 |
commit | cd7fa4119a3850541566b7d20d69515256e0b310 (patch) | |
tree | b8986b02d566f125a59ae2b3b610ead7d3f87e37 /distbuild/build_controller.py | |
parent | 60aedc8d97679159678e7ebad2f2d81768e9736a (diff) | |
parent | aab6f2b5d3621d5760145d133a72495ef2ac1f25 (diff) | |
download | morph-cd7fa4119a3850541566b7d20d69515256e0b310.tar.gz |
Merge "Use python3 compatible notation for catching exceptions"
Diffstat (limited to 'distbuild/build_controller.py')
-rw-r--r-- | distbuild/build_controller.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distbuild/build_controller.py b/distbuild/build_controller.py index 83e44f89..d6f3398f 100644 --- a/distbuild/build_controller.py +++ b/distbuild/build_controller.py @@ -303,7 +303,7 @@ class BuildController(distbuild.StateMachine): text = self._artifact_data.peek() try: artifact = distbuild.deserialise_artifact(text) - except ValueError, e: + except ValueError as e: logging.error(traceback.format_exc()) self.fail('Failed to compute build graph: %s' % e) return |