mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-13 09:51:30 +00:00
Sensible behavior when a requested package isn't in -proposed.
This commit is contained in:
parent
f5512846d6
commit
7c11832ee0
@ -132,8 +132,12 @@ def main():
|
||||
|
||||
if args.package:
|
||||
if not find_excuses_bugs(args.launchpad, args.package):
|
||||
proposed_version = get_proposed_version(excuses, args.package)
|
||||
if not proposed_version:
|
||||
print("Package %s not found in -proposed." % args.package)
|
||||
sys.exit(1)
|
||||
create_excuses_bug(args.launchpad, args.package,
|
||||
get_proposed_version(excuses, args.package))
|
||||
proposed_version)
|
||||
else:
|
||||
pass # for now
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user