diff options
| author | Bryce Harrington <bryce@bryceharrington.org> | 2015-03-19 01:52:34 +0000 |
|---|---|---|
| committer | bryce <bryce@ubuntu.com> | 2015-03-19 01:52:34 +0000 |
| commit | 79d7d2355d907094557d814602cb043a77a32dfe (patch) | |
| tree | 28e114a2a0eba21212e911b90b266bca52c1d931 /packaging/scripts | |
| parent | Let's hope the world doesn't end (diff) | |
| download | inkscape-79d7d2355d907094557d814602cb043a77a32dfe.tar.gz inkscape-79d7d2355d907094557d814602cb043a77a32dfe.zip | |
packaging: Show details about failures in bug updating
(bzr r14015)
Diffstat (limited to 'packaging/scripts')
| -rwxr-xr-x | packaging/scripts/lp-mark-bugs-released | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/scripts/lp-mark-bugs-released b/packaging/scripts/lp-mark-bugs-released index f18f1468a..7e936213d 100755 --- a/packaging/scripts/lp-mark-bugs-released +++ b/packaging/scripts/lp-mark-bugs-released @@ -21,7 +21,7 @@ import tempfile from launchpadlib.launchpad import Launchpad from launchpadlib.errors import HTTPError -opt_dry_run = True +opt_dry_run = False def mark_released (bug): if bug.status == 'Fix Committed': @@ -68,7 +68,9 @@ def main(): mark_released(task) except HTTPError, error: - print 'An error happened in the upload:', error.content + print 'An error happened in the upload: %s\n%s' %( + error.content, + error.__dict__) sys.exit(1) if __name__ == '__main__': |
