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

View File

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

View File

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