From aecd1169fd13a2905c6f92067be0e86ae312a521 Mon Sep 17 00:00:00 2001 From: Daniel Holbach Date: Tue, 10 May 2011 12:08:59 +0200 Subject: [PATCH] fix problems mentioned in review --- bitesize | 3 +-- debian/control | 2 ++ doc/bitesize.1 | 7 +++---- setup.py | 1 + 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/bitesize b/bitesize index 7ddb100..edaa09a 100755 --- a/bitesize +++ b/bitesize @@ -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 diff --git a/debian/control b/debian/control index f251572..c12b4e1 100644 --- a/debian/control +++ b/debian/control @@ -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. diff --git a/doc/bitesize.1 b/doc/bitesize.1 index a349d00..68fdca1 100644 --- a/doc/bitesize.1 +++ b/doc/bitesize.1 @@ -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 diff --git a/setup.py b/setup.py index d2374c8..50ecf3a 100755 --- a/setup.py +++ b/setup.py @@ -15,6 +15,7 @@ if os.path.exists(changelog): scripts = ['404main', 'backportpackage', + 'bitesize', 'check-mir', 'check-symbols', 'dch-repeat',