summaryrefslogtreecommitdiff
path: root/gbp/scripts/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/scripts/config.py')
-rwxr-xr-xgbp/scripts/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/scripts/config.py b/gbp/scripts/config.py
index 07c731c0..c914e7da 100755
--- a/gbp/scripts/config.py
+++ b/gbp/scripts/config.py
@@ -17,7 +17,7 @@
#
"""Query and display config file values"""
-import ConfigParser
+import configparser
import sys
import os, os.path
from gbp.config import (GbpOptionParser, GbpOptionGroup)
@@ -30,7 +30,7 @@ def build_parser(name):
try:
parser = GbpOptionParser(command=os.path.basename(name), prefix='',
usage='%prog [options] command[.optionname] - display configuration settings')
- except ConfigParser.ParsingError as err:
+ except configparser.ParsingError as err:
gbp.log.err(err)
return None