summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-07-14 10:41:36 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-11-14 14:47:21 +0200
commit60d7d00176ae821bb2ea98afce1a441892f7568b (patch)
tree5a903d8553c35370538699b45c332637cd97501e
parent13dbee0f3a8a4dc52de5709f22f51f782a1b7e95 (diff)
downloadgit-buildpackage-60d7d00176ae821bb2ea98afce1a441892f7568b.tar.gz
git-buildpackage-60d7d00176ae821bb2ea98afce1a441892f7568b.tar.bz2
git-buildpackage-60d7d00176ae821bb2ea98afce1a441892f7568b.zip
buildpackage-rpm: remove some outdated/unnecessary exception handling
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-xgbp/scripts/buildpackage_rpm.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py
index fdde2db5..1af5b06b 100755
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -75,11 +75,6 @@ def git_archive(repo, spec, output_dir, tmpdir_base, treeish, prefix,
except (GitRepositoryError, CommandExecFailed):
gbp.log.err("Error generating submodules' archives")
return False
- except OSError, err:
- gbp.log.err("Error creating %s: %s" % (output, err[0]))
- return False
- except GbpError:
- raise
return True