From 65eda67d7c5f8d7cea89050cb4277336aebf2a14 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 23 Feb 2021 09:59:16 +0530 Subject: [PATCH] Python 3.7 compat --- setup/translations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/translations.py b/setup/translations.py index b51b40547a..aa82a96d83 100644 --- a/setup/translations.py +++ b/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={slug} to config file') self.git('add .tx/config') self.upload_pot(resource=slug) self.git(['add', dest])