summaryrefslogtreecommitdiff
path: root/deskutils/calibre/files/patch-setup_translations.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--deskutils/calibre/files/patch-setup_translations.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/deskutils/calibre/files/patch-setup_translations.py b/deskutils/calibre/files/patch-setup_translations.py
new file mode 100644
index 000000000000..08b84325fe3e
--- /dev/null
+++ b/deskutils/calibre/files/patch-setup_translations.py
@@ -0,0 +1,11 @@
+--- setup/translations.py.orig 2020-11-13 01:58:49 UTC
++++ setup/translations.py
+@@ -159,7 +159,7 @@ class POT(Command): # {{{
+ 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])