aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-import-dscs
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-09-15 13:40:55 +0200
committerGuido Günther <agx@sigxcpu.org>2009-09-15 13:40:55 +0200
commit78bcf5e946c0c7237ab2cbf97f82d75f5bb34d79 (patch)
tree1ecc7c1efbdda213074a46ca0b8950f0a3a64c60 /git-import-dscs
parent564cfb3fd42697a4db9bb4289abb558818abea2b (diff)
catch config file parse errors
Closes: #545690
Diffstat (limited to 'git-import-dscs')
-rwxr-xr-xgit-import-dscs11
1 files changed, 5 insertions, 6 deletions
diff --git a/git-import-dscs b/git-import-dscs
index c4cbc1c0..e7ca7d1d 100755
--- a/git-import-dscs
+++ b/git-import-dscs
@@ -1,7 +1,7 @@
#!/usr/bin/python -u
# vim: set fileencoding=utf-8 :
#
-# (C) 2008 Guido Guenther <agx@sigxcpu.org>
+# (C) 2008, 2009 Guido Guenther <agx@sigxcpu.org>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@@ -17,15 +17,14 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""Import multiple dsc files in one go"""
-import sys
-import re
-import os
-import tempfile
import glob
+import os
import pipes
+import re
+import sys
+import tempfile
import gbp.command_wrappers as gbpc
from gbp.deb import parse_dsc, DscFile
-from gbp.config import GbpOptionParser
from gbp.errors import GbpError
from gbp.git import GitRepository, GitRepositoryError