mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-21 22:36:34 -04:00
convert some legacy percent format (auto-fix)
ruff 'UP031'
This commit is contained in:
@@ -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.'
|
||||
|
||||
Reference in New Issue
Block a user