diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-07-14 10:41:36 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-11-14 14:47:21 +0200 |
commit | 60d7d00176ae821bb2ea98afce1a441892f7568b (patch) | |
tree | 5a903d8553c35370538699b45c332637cd97501e | |
parent | 13dbee0f3a8a4dc52de5709f22f51f782a1b7e95 (diff) | |
download | git-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-x | gbp/scripts/buildpackage_rpm.py | 5 |
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 |