summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-11-08 17:24:47 +0200
committerGuido Günther <agx@sigxcpu.org>2012-11-23 19:24:13 +0100
commit1da7e0d7325dd720796cb8644e067dd52ee7fe99 (patch)
tree2853e666c5185f242d2a1b4c99fe33d58689dbc1
parentf4d493d66481e07ed38e154c64d4e43c9ddb9b68 (diff)
import-orig: remove dead if statement
GitRepository.commit_dir() never returns empty objects. It raises an exception, instead. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r--gbp/scripts/import_orig.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/gbp/scripts/import_orig.py b/gbp/scripts/import_orig.py
index 35e8f6fc..19b49579 100644
--- a/gbp/scripts/import_orig.py
+++ b/gbp/scripts/import_orig.py
@@ -320,8 +320,6 @@ def main(argv):
branch=import_branch,
other_parents=parents,
)
- if not commit:
- raise GbpError("Import of upstream version %s failed." % version)
if options.pristine_tar:
if pristine_orig: