diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-03-21 19:18:00 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-03-21 21:05:38 +0100 |
commit | c2452aedb0d8ba52dc7b49fc4d27271a303c1043 (patch) | |
tree | 64b22361f442b8eba4cb523a9623811942b46d5a /git-buildpackage | |
parent | 1021f8439fcdced1699414d686d299b49753eff4 (diff) |
git-buildpackage; don't ignore errors returned by dump_tree()
Git-Dch: Ignore
Diffstat (limited to 'git-buildpackage')
-rwxr-xr-x | git-buildpackage | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-buildpackage b/git-buildpackage index 26d18fa..48e3fc1 100755 --- a/git-buildpackage +++ b/git-buildpackage @@ -484,7 +484,8 @@ def main(argv): extract_orig(os.path.join(output_dir, du.orig_file(cp, options.comp_type)), tmp_dir) gbp.log.info("Exporting '%s' to '%s'" % (options.export, tmp_dir)) - dump_tree(repo, tmp_dir, tree) + if not dump_tree(repo, tmp_dir, tree): + raise GbpError cp = du.parse_changelog(filename=os.path.join(tmp_dir, 'debian', 'changelog')) export_dir = os.path.join(output_dir, "%s-%s" % (cp['Source'], major)) gbp.log.info("Moving '%s' to '%s'" % (tmp_dir, export_dir)) |