buildpackage-rpm: remove some outdated/unnecessary exception handling
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 14 Jul 2014 07:41:36 +0000 (10:41 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 21 Jul 2014 13:02:49 +0000 (13:02 +0000)
Change-Id: I01b75b3ff1ba7f483cb6c9b5648b11dde858ed80
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/scripts/buildpackage_rpm.py

index fdde2db..1af5b06 100755 (executable)
@@ -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