mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +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:
|
||||
break
|
||||
new_entries.append(str(block))
|
||||
return u''.join(new_entries)
|
||||
return ''.join(new_entries)
|
||||
|
||||
|
||||
def rmadison(url, package, suite=None, arch=None):
|
||||
|
@ -577,7 +577,7 @@ class SourcePackagePublishingHistory(BaseWrapper):
|
||||
if block.version <= since_version:
|
||||
break
|
||||
new_entries.append(str(block))
|
||||
return u''.join(new_entries)
|
||||
return ''.join(new_entries)
|
||||
|
||||
def getBinaries(self):
|
||||
'''
|
||||
|
@ -104,7 +104,7 @@ def get_ubuntu_delta_changelog(srcpkg):
|
||||
'''
|
||||
changelog = Changelog(srcpkg.getChangelog())
|
||||
if changelog is None:
|
||||
return u''
|
||||
return ''
|
||||
delta = []
|
||||
debian_info = DebianDistroInfo()
|
||||
for block in changelog:
|
||||
@ -114,7 +114,7 @@ def get_ubuntu_delta_changelog(srcpkg):
|
||||
delta += [str(change) for change in block.changes()
|
||||
if change.strip()]
|
||||
|
||||
return u'\n'.join(delta)
|
||||
return '\n'.join(delta)
|
||||
|
||||
|
||||
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)
|
||||
|
||||
# generate email
|
||||
mail = u'''\
|
||||
mail = '''\
|
||||
From: %s
|
||||
To: %s
|
||||
Subject: %s
|
||||
|
Loading…
x
Reference in New Issue
Block a user