From 2d00e3e45ba758e5e00774fc5cfaea64b74fb054 Mon Sep 17 00:00:00 2001 From: Michael Bienia Date: Sun, 30 Dec 2007 17:07:35 +0100 Subject: [PATCH] * requestsync: Set importance to wishlist and strip some more whitespace from components so the URL for the Debian changelog doesn't break. --- debian/changelog | 7 ++++++- requestsync | 5 +++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7d4cac8..9bf3908 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,7 +9,12 @@ ubuntu-dev-tools (0.24) UNRELEASED; urgency=low [ Cesare Tirabassi ] * Add man page for check-symbols (Thanks to Albert Damen - LP: #174123). - -- Cesare Tirabassi Mon, 17 Dec 2007 00:18:09 +0100 + [ Michael Bienia ] + * requestsync: + + Set importance to wishlist. + + Strip some more whitespace. + + -- Michael Bienia Sun, 30 Dec 2007 17:05:23 +0100 ubuntu-dev-tools (0.23) hardy; urgency=low diff --git a/requestsync b/requestsync index d5a4beb..7d8b40b 100755 --- a/requestsync +++ b/requestsync @@ -42,7 +42,7 @@ def cur_deb_version(sourcepkg): print "%s doesn't appear to exist in Debian." % sourcepkg sys.exit(1) - return out.split('|')[1].rstrip('[]''').lstrip() + return out.split('|')[1].rstrip('[]''').strip() sys.exit(1) @@ -76,7 +76,7 @@ def debian_component(sourcepkg): raw_comp = out.split('|')[2].split('/') component = 'main' if len(raw_comp) == 2: - component = raw_comp[1] + component = raw_comp[1].strip() return component def usage(): @@ -136,6 +136,7 @@ if newsource: report = ''' affects ubuntu%s status %s + importance wishlist subscribe %s Please sync %s %s (%s) from Debian unstable (%s).