sponsor-patch: Fix 'str' object has no attribute 'startwith' crash caused by a typo.

This commit is contained in:
Benjamin Drung 2010-12-21 22:50:02 +01:00
parent ff84b6da91
commit 9ee1a8faa0
2 changed files with 6 additions and 4 deletions

8
debian/changelog vendored
View File

@ -23,10 +23,12 @@ ubuntu-dev-tools (0.109) UNRELEASED; urgency=low
instance to use (lp: #693060). instance to use (lp: #693060).
[ Benjamin Drung ] [ Benjamin Drung ]
* sponsor-patch: Add new --lpinstance and --no-conf options and support * sponsor-patch:
configuration files. - Add new --lpinstance and --no-conf options.
- Support configuration files.
- Fix 'str' object has no attribute 'startwith' crash caused by a typo.
-- Benjamin Drung <bdrung@ubuntu.com> Tue, 21 Dec 2010 21:39:54 +0100 -- Benjamin Drung <bdrung@ubuntu.com> Tue, 21 Dec 2010 22:47:20 +0100
ubuntu-dev-tools (0.108) experimental; urgency=low ubuntu-dev-tools (0.108) experimental; urgency=low

View File

@ -385,7 +385,7 @@ def main(bug_number, build, builder, edit, keyid, lpinstance, update, upload,
", ".join(allowed))) ", ".join(allowed)))
ask_for_manual_fixing() ask_for_manual_fixing()
continue continue
elif upload and upload.startwith("ppa/"): elif upload and upload.startswith("ppa/"):
allowed = supported_series + [devel_series] allowed = supported_series + [devel_series]
if changelog.distributions not in allowed: if changelog.distributions not in allowed:
Logger.error("%s is not an allowed series. It needs to be one " \ Logger.error("%s is not an allowed series. It needs to be one " \