aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-05-28 20:26:10 +0200
committerGuido Günther <agx@sigxcpu.org>2015-05-28 20:37:14 +0200
commit3775a4d7e61c4d5d55249720e1277c754f421a7c (patch)
tree5edad1e9557a45056ca075b2cc941125a282b6a0
parentc4f82d3e1e281442441fa757e27a4b4f7dac7aba (diff)
Use Python3 compatible syntax
Gbp-Dch: Ignore
-rwxr-xr-xgbp/scripts/pq_rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/pq_rpm.py b/gbp/scripts/pq_rpm.py
index a05fdffc..f84e76d1 100755
--- a/gbp/scripts/pq_rpm.py
+++ b/gbp/scripts/pq_rpm.py
@@ -452,7 +452,7 @@ def main(argv):
except GitRepositoryError as err:
gbp.log.err("Git command failed: %s" % err)
retval = 1
- except GbpError, err:
+ except GbpError as err:
if str(err):
gbp.log.err(err)
retval = 1