Remove some more u'' strings

This commit is contained in:
Stefano Rivera 2019-09-05 16:10:26 -03:00
parent 38632a190e
commit 06642ef9f7
3 changed files with 5 additions and 5 deletions

View File

@ -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):

View File

@ -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):
'''

View File

@ -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