mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
* 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.
This commit is contained in:
parent
a256eca0b7
commit
c9e4293dea
5
buildd
5
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user