summaryrefslogtreecommitdiff
path: root/examples/gbp-posttag-push
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gbp-posttag-push')
-rwxr-xr-xexamples/gbp-posttag-push4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gbp-posttag-push b/examples/gbp-posttag-push
index 76235ad..cabffff 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