summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-07-16 17:16:48 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-11-14 14:47:21 +0200
commit6c086ca6e4ab4c067bb1a9cc397584ca8f765915 (patch)
tree51b57f558b695ca8eecce96630ec1e7c543eabee
parent029fe4d463b674dae0e9e460084d920ab2384717 (diff)
downloadgit-buildpackage-6c086ca6e4ab4c067bb1a9cc397584ca8f765915.tar.gz
git-buildpackage-6c086ca6e4ab4c067bb1a9cc397584ca8f765915.tar.bz2
git-buildpackage-6c086ca6e4ab4c067bb1a9cc397584ca8f765915.zip
buildpackage-rpm: drop unneeded exception
We will never get here as parse_spec() always returns GbpError. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-xgbp/scripts/buildpackage_rpm.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py
index efc344d6..c47e4d06 100755
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -690,9 +690,6 @@ def main(argv):
if len(err.__str__()):
gbp.log.err(err)
retval = 1
- except rpm.NoSpecError, err:
- gbp.log.err(err)
- retval = 1
finally:
drop_index(repo)
shutil.rmtree(options.tmp_dir)