summaryrefslogtreecommitdiff
path: root/gbp/scripts/pq_rpm.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/scripts/pq_rpm.py')
-rwxr-xr-xgbp/scripts/pq_rpm.py4
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