From c9e4293dea0ea5599c5178fd1a1064afa90e1c03 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Wed, 27 May 2009 18:01:58 -0400 Subject: [PATCH] * buildd: - Do not display override message if --arch is not used. - Fix permissions warning message and do not mention teams as we check on a per package basis. --- buildd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/buildd b/buildd index 3b2c112..2b7609e 100755 --- a/buildd +++ b/buildd @@ -153,7 +153,7 @@ if op == 'status': # Check if the package in question is architecture independent, and if so; that # i386 has been set as the architecture. -if len(buildstats) == 1 and options.architecture != "i386": +if len(buildstats) == 1 and options.architecture != "i386" and oneArch: print "Overriding architecture setting to i386 for architecture " \ "independent package..." options.architecture = "i386" @@ -166,8 +166,7 @@ if op == "retry": if not necessaryPrivs: print >> sys.stderr, "You cannot perform the %s operation on a %s package " \ - "as you are not member of the '%s' team on Launchpad." % (op, component, - teamNeeded) + "as you do not have the permissions to do this action." % (op, component) print "Should this be incorrect, please log in to Launchpad using Firefox, " \ "delete the ~/.lpcookie.txt file and rerun this script." sys.exit(1)