diff options
author | Javier Jardón <jjardon@gnome.org> | 2015-03-13 13:02:24 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2015-03-16 16:34:55 +0000 |
commit | aab6f2b5d3621d5760145d133a72495ef2ac1f25 (patch) | |
tree | 561f7ca9b2ce8fd78fbf425d7b7fc3b7e12adcd5 /morphlib/plugins/artifact_inspection_plugin.py | |
parent | db23e8e6406f98722d2d18bf61b8e85cd99415eb (diff) | |
download | morph-aab6f2b5d3621d5760145d133a72495ef2ac1f25.tar.gz |
Use python3 compatible notation for catching exceptions
Change-Id: Ibda7a938cd16e35517a531140f39ef4664d85c72
Diffstat (limited to 'morphlib/plugins/artifact_inspection_plugin.py')
-rw-r--r-- | morphlib/plugins/artifact_inspection_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/plugins/artifact_inspection_plugin.py b/morphlib/plugins/artifact_inspection_plugin.py index f1f41b3a..b16f393c 100644 --- a/morphlib/plugins/artifact_inspection_plugin.py +++ b/morphlib/plugins/artifact_inspection_plugin.py @@ -162,7 +162,7 @@ class VersionGuesser(object): version = guesser.guess_version(repo, ref, tree) if version: break - except cliapp.AppException, err: + except cliapp.AppException as err: self.app.status(msg='%(repo)s: Failed to list files in %(ref)s', repo=repo, ref=ref, chatty=True) return version |