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 /examples | |
parent | 0a4725c045a5a55592dafd41c6ef6f9bab4791cd (diff) |
Handle ConfigParser -> configparser rename
to work towards Python3 support
Gbp-Dch: Ignore
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/gbp-posttag-push | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gbp-posttag-push b/examples/gbp-posttag-push index 76235ad6..cabffffa 100755 --- a/examples/gbp-posttag-push +++ b/examples/gbp-posttag-push @@ -20,7 +20,7 @@ # --verbose: verbose command output -import ConfigParser +from six.moves import configparser import os import subprocess import sys @@ -83,7 +83,7 @@ def main(argv): try: parser = GbpOptionParser(command=os.path.basename(argv[0]), prefix='', usage='%prog [options] paths') - except ConfigParser.ParsingError as err: + except configparser.ParsingError as err: gbp.log.error(err) return 1 |