diff options
Diffstat (limited to 'gbp/scripts/config.py')
-rwxr-xr-x | gbp/scripts/config.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gbp/scripts/config.py b/gbp/scripts/config.py index 07c731c..cb5d82d 100755 --- a/gbp/scripts/config.py +++ b/gbp/scripts/config.py @@ -17,11 +17,10 @@ # """Query and display config file values""" -import ConfigParser +from six.moves import configparser import sys import os, os.path -from gbp.config import (GbpOptionParser, GbpOptionGroup) -from gbp.errors import GbpError +from gbp.config import GbpOptionParser from gbp.scripts.supercommand import import_command import gbp.log @@ -30,7 +29,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 |