Remove trailing spaces.

This commit is contained in:
Benjamin Drung 2011-05-23 23:44:45 +02:00
parent 3a91cf964d
commit aa96842c84
8 changed files with 14 additions and 14 deletions

View File

@ -186,7 +186,7 @@ def ack_sync(bug_numbers, all_package, all_version, all_section, update,
print "Taking email address from local file: " + \ print "Taking email address from local file: " + \
uploader_email uploader_email
# Try to find a Ubuntu bug task, against which the package is raised. # Try to find a Ubuntu bug task, against which the package is raised.
for t in bug.bug_tasks: for t in bug.bug_tasks:
if t.bug_target_name.endswith(' (Ubuntu)'): if t.bug_target_name.endswith(' (Ubuntu)'):
task = t task = t
@ -198,7 +198,7 @@ def ack_sync(bug_numbers, all_package, all_version, all_section, update,
task = bug.bug_tasks[0] task = bug.bug_tasks[0]
print ("W: Could not find bug task for a Ubuntu package." print ("W: Could not find bug task for a Ubuntu package."
" Using task '%s'" % task.bug_target_name) " Using task '%s'" % task.bug_target_name)
if all_package is not None: if all_package is not None:
package = all_package package = all_package
else: else:

View File

@ -41,7 +41,7 @@ def check_support(apt_cache, pkgname, alt=False):
except KeyError: except KeyError:
print >> sys.stderr, prefix, 'does not exist (pure virtual?)' print >> sys.stderr, prefix, 'does not exist (pure virtual?)'
return False return False
section = pkg.candidate.section section = pkg.candidate.section
if section.startswith('universe') or section.startswith('multiverse'): if section.startswith('universe') or section.startswith('multiverse'):
# check if the source package is in main and thus will only need binary # check if the source package is in main and thus will only need binary

4
debian/changelog vendored
View File

@ -6,7 +6,7 @@ ubuntu-dev-tools (0.124) UNRELEASED; urgency=low
[ Daniel Holbach ] [ Daniel Holbach ]
* bitesize: * bitesize:
- display error message properly. - display error message properly.
- error out if bug is already marked as 'bitesize'. - error out if bug is already marked as 'bitesize'.
- rephrase bug comment and subscribe person who adds the comment. - rephrase bug comment and subscribe person who adds the comment.
- work-around LP:336866 and LP:254901. - work-around LP:336866 and LP:254901.
@ -33,7 +33,7 @@ ubuntu-dev-tools (0.123) unstable; urgency=low
- Support Debian experimental. - Support Debian experimental.
[ Daniel Holbach ] [ Daniel Holbach ]
* bitesize, doc/bitesize.1: add script to tag a bug as bitesize and add a * bitesize, doc/bitesize.1: add script to tag a bug as bitesize and add a
comment that you are willing to help with fixing the bug. comment that you are willing to help with fixing the bug.
[ Benjamin Drung ] [ Benjamin Drung ]

View File

@ -48,7 +48,7 @@ The default value for \fB--lpinstance\fR.
.BR ubuntu\-dev\-tools (5) .BR ubuntu\-dev\-tools (5)
.SH AUTHORS .SH AUTHORS
\fBbitesize\fR and this manual page were written by Daniel Holbach \fBbitesize\fR and this manual page were written by Daniel Holbach
<daniel.holbach@canonical.com>. <daniel.holbach@canonical.com>.
.PP .PP
Both are released under the terms of the GNU General Public License, version 3. Both are released under the terms of the GNU General Public License, version 3.

View File

@ -7,12 +7,12 @@ harvest \- grabs information about a given source package from harvest.ubuntu.co
\fBharvest\fP <\fIsource package name\fP> \fBharvest\fP <\fIsource package name\fP>
.SH DESCRIPTION .SH DESCRIPTION
\fBharvest\fP is a script that downloads information about development \fBharvest\fP is a script that downloads information about development
opportunities from harvest.ubuntu.com and gives a summary of the types of opportunities from harvest.ubuntu.com and gives a summary of the types of
opportunities. opportunities.
.SH AUTHORS .SH AUTHORS
\fBharvest\fP and its manpage were written by Daniel Holbach \fBharvest\fP and its manpage were written by Daniel Holbach
<daniel.holbach@ubuntu.com>. <daniel.holbach@ubuntu.com>.
.PP .PP
Both are released under the GNU General Public License, version 3 or Both are released under the GNU General Public License, version 3 or

View File

@ -22,7 +22,7 @@
# harvest.ubuntu.com # harvest.ubuntu.com
# #
# #
# Daniel Holbach # Daniel Holbach
# (c) 2011 Canonical # (c) 2011 Canonical
from optparse import OptionParser from optparse import OptionParser
@ -63,8 +63,8 @@ def main():
data = json.loads(response) data = json.loads(response)
print >> sys.stdout, \ print >> sys.stdout, \
"""%s has %s opportunities: %s """%s has %s opportunities: %s
Find out more: %sopportunities/package/%s""" % (pkg, Find out more: %sopportunities/package/%s""" % (pkg,
data["total"], data["total"],
opportunity_summary(data), opportunity_summary(data),
BASE_URL, BASE_URL,
pkg) pkg)

View File

@ -71,7 +71,7 @@ class ConfigTestCase(mox.MoxTestBase, unittest.TestCase):
self._config_files['user'] = """#COMMENT=yes self._config_files['user'] = """#COMMENT=yes
\tTAB_INDENTED=yes \tTAB_INDENTED=yes
SPACE_INDENTED=yes SPACE_INDENTED=yes
SPACE_SUFFIX=yes SPACE_SUFFIX=yes
SINGLE_QUOTE='yes no' SINGLE_QUOTE='yes no'
DOUBLE_QUOTE="yes no" DOUBLE_QUOTE="yes no"
QUOTED_QUOTE="it's" QUOTED_QUOTE="it's"

View File

@ -152,7 +152,7 @@ endif
""" """
_SEAHORSE_PLUGINS_CONTROL = """# This file is autogenerated. DO NOT EDIT! _SEAHORSE_PLUGINS_CONTROL = """# This file is autogenerated. DO NOT EDIT!
# #
# Modifications should be made to debian/control.in instead. # Modifications should be made to debian/control.in instead.
# This file is regenerated automatically in the clean target. # This file is regenerated automatically in the clean target.
@ -169,7 +169,7 @@ Package: seahorse-plugins
""" """
_SEAHORSE_PLUGINS_UPDATED = """# This file is autogenerated. DO NOT EDIT! _SEAHORSE_PLUGINS_UPDATED = """# This file is autogenerated. DO NOT EDIT!
# #
# Modifications should be made to debian/control.in instead. # Modifications should be made to debian/control.in instead.
# This file is regenerated automatically in the clean target. # This file is regenerated automatically in the clean target.