diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-02-19 12:30:54 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-02-20 12:40:14 +0100 |
commit | 4766e1190a7ccb4c5a8f21ce3e8919637ff9c142 (patch) | |
tree | 8bab0ef8f6677f18ffdccf257bf90425ccbdfe10 /gbp/scripts/pq_rpm.py | |
parent | 0a4725c045a5a55592dafd41c6ef6f9bab4791cd (diff) |
Handle ConfigParser -> configparser rename
to work towards Python3 support
Gbp-Dch: Ignore
Diffstat (limited to 'gbp/scripts/pq_rpm.py')
-rwxr-xr-x | gbp/scripts/pq_rpm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/scripts/pq_rpm.py b/gbp/scripts/pq_rpm.py index ab50cad..764ccff 100755 --- a/gbp/scripts/pq_rpm.py +++ b/gbp/scripts/pq_rpm.py @@ -18,7 +18,7 @@ # """manage patches in a patch queue""" -import ConfigParser +from six.moves import configparser import bz2 import errno import gzip @@ -363,7 +363,7 @@ drop Drop (delete) the patch queue /devel branch associated to apply Apply a patch switch Switch to patch-queue branch and vice versa.""") - except ConfigParser.ParsingError as err: + except configparser.ParsingError as err: gbp.log.err('Invalid config file: %s' % err) return None |