diff options
Diffstat (limited to 'gbp/patch_series.py')
-rw-r--r-- | gbp/patch_series.py | 2 |
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) |