Commit 3775a4d7 authored by Guido Günther's avatar Guido Günther

Use Python3 compatible syntax

Gbp-Dch: Ignore
parent c4f82d3e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment