string fixes in requestsync

This commit is contained in:
Markus Korn 2009-01-07 09:18:33 +01:00
parent 9f2db19919
commit cbae36502c

View File

@ -327,7 +327,7 @@ def mail_bug(source_package, subscribe, status, bugtitle, bugtext, keyid = None)
return True return True
def post_bug(source_package, subscribe, status, bugtitle, bugtext): def post_bug(source_package, subscribe, status, bugtitle, bugtext):
'''Use python-launchpad-bugs to submit the sync request. '''Use python-launchpadlib to submit the sync request.
Return True if successfully posted, otherwise False.''' Return True if successfully posted, otherwise False.'''
import glob, os.path import glob, os.path
@ -445,7 +445,7 @@ if __name__ == '__main__':
help = "Whether package to sync is a new package in Ubuntu.") help = "Whether package to sync is a new package in Ubuntu.")
optParser.add_option("--lp", action = "store_true", optParser.add_option("--lp", action = "store_true",
dest = "lpbugs", default = False, dest = "lpbugs", default = False,
help = "Specify whether to use the launchpadbugs module for filing " \ help = "Specify whether to use the launchpadlib module for filing " \
"report.") "report.")
optParser.add_option("-s", action = "store_true", optParser.add_option("-s", action = "store_true",
dest = "sponsor", default = False, dest = "sponsor", default = False,