aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/patch_series.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-07-02 08:05:06 +0200
committerGuido Günther <agx@sigxcpu.org>2012-07-02 08:53:04 +0200
commite6e0150e07be32b91624b460b67be39b8f6b0ab9 (patch)
treeebf593199d58f8a46d3bbeae3335258c6e264d54 /gbp/patch_series.py
parent92a744e5c8e9751f7336ddaac597ded2a7456d8f (diff)
Make exception syntax consistent
Diffstat (limited to 'gbp/patch_series.py')
-rw-r--r--gbp/patch_series.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/patch_series.py b/gbp/patch_series.py
index 0ab8bba7..2775cb7f 100644
--- a/gbp/patch_series.py
+++ b/gbp/patch_series.py
@@ -168,7 +168,7 @@ class PatchSeries(list):
try:
s = file(seriesfile)
- except Exception, err:
+ except Exception as err:
raise GbpError("Cannot open series file: %s" % err)
queue = klass._read_series(s, patch_dir)