From 9ee1a8faa01f6336a8d2b918d84545f60242be22 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Tue, 21 Dec 2010 22:50:02 +0100 Subject: [PATCH] sponsor-patch: Fix 'str' object has no attribute 'startwith' crash caused by a typo. --- debian/changelog | 8 +++++--- ubuntutools/sponsor_patch/main.py | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 87d027a..8cccb54 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,10 +23,12 @@ ubuntu-dev-tools (0.109) UNRELEASED; urgency=low instance to use (lp: #693060). [ Benjamin Drung ] - * sponsor-patch: Add new --lpinstance and --no-conf options and support - configuration files. + * sponsor-patch: + - Add new --lpinstance and --no-conf options. + - Support configuration files. + - Fix 'str' object has no attribute 'startwith' crash caused by a typo. - -- Benjamin Drung Tue, 21 Dec 2010 21:39:54 +0100 + -- Benjamin Drung Tue, 21 Dec 2010 22:47:20 +0100 ubuntu-dev-tools (0.108) experimental; urgency=low diff --git a/ubuntutools/sponsor_patch/main.py b/ubuntutools/sponsor_patch/main.py index 031a565..a524d26 100644 --- a/ubuntutools/sponsor_patch/main.py +++ b/ubuntutools/sponsor_patch/main.py @@ -385,7 +385,7 @@ def main(bug_number, build, builder, edit, keyid, lpinstance, update, upload, ", ".join(allowed))) ask_for_manual_fixing() continue - elif upload and upload.startwith("ppa/"): + elif upload and upload.startswith("ppa/"): allowed = supported_series + [devel_series] if changelog.distributions not in allowed: Logger.error("%s is not an allowed series. It needs to be one " \