mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 16:11:15 +00:00
Remove some more u'' strings
This commit is contained in:
parent
38632a190e
commit
06642ef9f7
@ -591,7 +591,7 @@ class FakeSPPH(object):
|
|||||||
if block.version <= since_version:
|
if block.version <= since_version:
|
||||||
break
|
break
|
||||||
new_entries.append(str(block))
|
new_entries.append(str(block))
|
||||||
return u''.join(new_entries)
|
return ''.join(new_entries)
|
||||||
|
|
||||||
|
|
||||||
def rmadison(url, package, suite=None, arch=None):
|
def rmadison(url, package, suite=None, arch=None):
|
||||||
|
@ -577,7 +577,7 @@ class SourcePackagePublishingHistory(BaseWrapper):
|
|||||||
if block.version <= since_version:
|
if block.version <= since_version:
|
||||||
break
|
break
|
||||||
new_entries.append(str(block))
|
new_entries.append(str(block))
|
||||||
return u''.join(new_entries)
|
return ''.join(new_entries)
|
||||||
|
|
||||||
def getBinaries(self):
|
def getBinaries(self):
|
||||||
'''
|
'''
|
||||||
|
@ -104,7 +104,7 @@ def get_ubuntu_delta_changelog(srcpkg):
|
|||||||
'''
|
'''
|
||||||
changelog = Changelog(srcpkg.getChangelog())
|
changelog = Changelog(srcpkg.getChangelog())
|
||||||
if changelog is None:
|
if changelog is None:
|
||||||
return u''
|
return ''
|
||||||
delta = []
|
delta = []
|
||||||
debian_info = DebianDistroInfo()
|
debian_info = DebianDistroInfo()
|
||||||
for block in changelog:
|
for block in changelog:
|
||||||
@ -114,7 +114,7 @@ def get_ubuntu_delta_changelog(srcpkg):
|
|||||||
delta += [str(change) for change in block.changes()
|
delta += [str(change) for change in block.changes()
|
||||||
if change.strip()]
|
if change.strip()]
|
||||||
|
|
||||||
return u'\n'.join(delta)
|
return '\n'.join(delta)
|
||||||
|
|
||||||
|
|
||||||
def mail_bug(srcpkg, subscribe, status, bugtitle, bugtext, bug_mail_domain,
|
def mail_bug(srcpkg, subscribe, status, bugtitle, bugtext, bug_mail_domain,
|
||||||
@ -164,7 +164,7 @@ def mail_bug(srcpkg, subscribe, status, bugtitle, bugtext, bug_mail_domain,
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# generate email
|
# generate email
|
||||||
mail = u'''\
|
mail = '''\
|
||||||
From: %s
|
From: %s
|
||||||
To: %s
|
To: %s
|
||||||
Subject: %s
|
Subject: %s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user