fix problems mentioned in review

This commit is contained in:
Daniel Holbach 2011-05-10 12:08:59 +02:00
parent 7a45eede4a
commit aecd1169fd
4 changed files with 7 additions and 6 deletions

View File

@ -61,8 +61,7 @@ def main():
bug = launchpad.bugs[args[0]]
except HTTPError, error:
if error.response.status == 401:
print >> sys.stderr, ("E: Don't have enough permissions to access "
"bug %s") % (args[0])
error_out("E: Don't have enough permissions to access bug %s" % args[0])
error_out(error.content)
else:
raise

2
debian/control vendored
View File

@ -66,6 +66,8 @@ Description: useful tools for Ubuntu developers
.
- 404main - used to check what components a package's deps are in, for
doing a main inclusion report for example.
- bitesize - add the 'bitesize' tag to a bug and comment that you are
willing to help fix it.
- check-mir - check support status of build/binary dependencies
- check-symbols - will compare and give you a diff of the exported symbols of
all .so files in a binary package.

View File

@ -1,10 +1,9 @@
.TH bitesize "1" "May 9 2010" "ubuntu-dev-tools"
.SH NAME
Add \fBbitesize\fR tag to bugs and add a comment.
bitesize \- mark one or more bugs as duplicate of another bug
bitesize \- Add \fBbitesize\fR tag to bugs and add a comment.
.SH SYNOPSIS
.B bitesize <\fIbug number\fI>
.B bitesize \fR<\fIbug number\fR>
.br
.B bitesize \-\-help
@ -42,7 +41,7 @@ configuration files.
In each case, the script\-specific variable takes precedence over the
package\-wide variable.
.TP
.BR LP_SET_DUP_LPINSTANCE ", " UBUNTUTOOLS_LPINSTANCE
.BR BITESIZE_LPINSTANCE ", " UBUNTUTOOLS_LPINSTANCE
The default value for \fB--lpinstance\fR.
.SH SEE ALSO

View File

@ -15,6 +15,7 @@ if os.path.exists(changelog):
scripts = ['404main',
'backportpackage',
'bitesize',
'check-mir',
'check-symbols',
'dch-repeat',