--- calibre-5.10.1/setup/translations.py.orig 2021-02-10 10:29:11.518360983 +0100 +++ calibre-5.10.1/setup/translations.py 2021-02-10 10:37:37.017022669 +0100 @@ -159,7 +159,7 @@ f.seek(0), f.truncate(), f.write('\n'.join(lines).encode('utf-8')) break else: - raise SystemExit(f'Failed to add file_filter for {slug=} to config file') + raise SystemExit(f'Failed to add file_filter for slug= to config file') self.git('add .tx/config') self.upload_pot(resource=slug) self.git(['add', dest])