mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-16 01:21:07 +00:00
sponsor-patch: Fix 'NoneType' object has no attribute 'startwith'.
This commit is contained in:
parent
44fe4e6205
commit
4bd431e1bc
@ -512,7 +512,7 @@ def main(script_name, bug_number, build, edit, keyid, upload, verbose=False):
|
|||||||
% (changelog.distributions, ", ".join(allowed)))
|
% (changelog.distributions, ", ".join(allowed)))
|
||||||
ask_for_manual_fixing()
|
ask_for_manual_fixing()
|
||||||
continue
|
continue
|
||||||
elif upload.startwith("ppa/"):
|
elif upload and upload.startwith("ppa/"):
|
||||||
allowed = supported_series + [devel_series]
|
allowed = supported_series + [devel_series]
|
||||||
if changelog.distributions not in allowed:
|
if changelog.distributions not in allowed:
|
||||||
Print.error("%s is not an allowed series. It needs to be one of %s." \
|
Print.error("%s is not an allowed series. It needs to be one of %s." \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user