convert some legacy percent format (auto-fix)

ruff 'UP031'
This commit is contained in:
un-pogaz
2025-01-24 11:14:16 +01:00
parent 534293eabc
commit 0560b429bf
29 changed files with 152 additions and 158 deletions
+2 -2
View File
@@ -56,11 +56,11 @@ class Bug:
if int(bug) > 100000 and action != 'See':
self.close_bug(bug, action)
return match.group() + f' [{summary}]({LAUNCHPAD_BUG % bug})'
return match.group() + ' (%s)' % summary
return match.group() + ' ({})'.format(summary)
return match.group()
def close_bug(self, bug, action):
print('Closing bug #%s' % bug)
print('Closing bug #{}'.format(bug))
suffix = (
'The fix will be in the next release. '
'calibre is usually released every alternate Friday.'