summaryrefslogtreecommitdiff
path: root/gbp/scripts/clone.py
diff options
context:
space:
mode:
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