From: Markus Lehtonen Date: Mon, 14 Jul 2014 07:41:36 +0000 (+0300) Subject: buildpackage-rpm: remove some outdated/unnecessary exception handling X-Git-Tag: tizen/0.6.22-20150206~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60d7d00176ae821bb2ea98afce1a441892f7568b;p=tools%2Fgit-buildpackage.git buildpackage-rpm: remove some outdated/unnecessary exception handling Signed-off-by: Markus Lehtonen --- diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py index fdde2db..1af5b06 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