diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-07-11 15:41:45 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-11-14 14:47:20 +0200 |
commit | 61185ec85098790f6122fc7ea9852b6dcae16cd7 (patch) | |
tree | 85e105783728eaccdcc62c795d008f15d76e0e4f /gbp/scripts | |
parent | 9e0976d6e0a64ad48699e9902e87e962ebca02fd (diff) | |
download | git-buildpackage-61185ec85098790f6122fc7ea9852b6dcae16cd7.tar.gz git-buildpackage-61185ec85098790f6122fc7ea9852b6dcae16cd7.tar.bz2 git-buildpackage-61185ec85098790f6122fc7ea9852b6dcae16cd7.zip |
buildpackage-rpm: remove too general exception catching
There should be no reason to catch general Exception here.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/scripts')
-rwxr-xr-x | gbp/scripts/buildpackage_rpm.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py index b458de60..ef784f42 100755 --- a/gbp/scripts/buildpackage_rpm.py +++ b/gbp/scripts/buildpackage_rpm.py @@ -82,9 +82,6 @@ def git_archive(repo, spec, output_dir, tmpdir_base, treeish, prefix, return False except GbpError: raise - except Exception as e: - gbp.log.err("Error creating %s: %s" % (output, e)) - return False return True |