summaryrefslogtreecommitdiff
path: root/gbp/scripts/clone.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-02-19 12:30:54 +0100
committerGuido Günther <agx@sigxcpu.org>2015-02-20 12:40:14 +0100
commit4766e1190a7ccb4c5a8f21ce3e8919637ff9c142 (patch)
tree8bab0ef8f6677f18ffdccf257bf90425ccbdfe10 /gbp/scripts/clone.py
parent0a4725c045a5a55592dafd41c6ef6f9bab4791cd (diff)
Handle ConfigParser -> configparser rename
to work towards Python3 support Gbp-Dch: Ignore
Diffstat (limited to 'gbp/scripts/clone.py')
-rwxr-xr-xgbp/scripts/clone.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/scripts/clone.py b/gbp/scripts/clone.py
index 4593bc6..5232de9 100755
--- a/gbp/scripts/clone.py
+++ b/gbp/scripts/clone.py
@@ -19,7 +19,7 @@
#
"""Clone a Git repository and set it up for gbp"""
-import ConfigParser
+from six.moves import configparser
import sys
import os, os.path
from gbp.config import (GbpOptionParser, GbpOptionGroup)
@@ -33,7 +33,7 @@ def build_parser(name):
try:
parser = GbpOptionParser(command=os.path.basename(name), prefix='',
usage='%prog [options] repository - clone a remote repository')
- except ConfigParser.ParsingError as err:
+ except configparser.ParsingError as err:
gbp.log.err(err)
return None