mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
pull-uca-source: Ensure package and openstack release are specified.
This commit is contained in:
parent
d67090f752
commit
86b2c25c16
@ -42,8 +42,8 @@ def main():
|
||||
action='store_true',
|
||||
help="Do not extract the source package")
|
||||
(options, args) = opt_parser.parse_args()
|
||||
if not args:
|
||||
opt_parser.error("Must specify package name")
|
||||
if len(sys.argv) != 3:
|
||||
opt_parser.error("Must specify package name and openstack release")
|
||||
|
||||
# Login anonymously to LP
|
||||
Launchpad.login_anonymously()
|
||||
|
Loading…
x
Reference in New Issue
Block a user