summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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