From 726414e0bc6c6b944515300c02914e90961ebba7 Mon Sep 17 00:00:00 2001 From: Nathan Dyer Date: Tue, 21 Mar 2023 16:13:25 -0400 Subject: [PATCH] Appease the linter. --- .../roles/tails-config/tasks/install_shell_extension.yml | 4 ++-- securedrop/i18n_tool.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install_files/ansible-base/roles/tails-config/tasks/install_shell_extension.yml b/install_files/ansible-base/roles/tails-config/tasks/install_shell_extension.yml index ec352caf3cd..2705ebfac91 100644 --- a/install_files/ansible-base/roles/tails-config/tasks/install_shell_extension.yml +++ b/install_files/ansible-base/roles/tails-config/tasks/install_shell_extension.yml @@ -102,7 +102,7 @@ dest: "/home/amnesia/.local/share/gnome-shell/extensions/securedrop@securedrop.freedom.press/" owner: amnesia group: amnesia - + - name: Copy the symbolic icon used for the shell extension in Persistent Storage become: yes copy: @@ -110,7 +110,7 @@ dest: "{{ tails_config_live_dotfiles }}/.local/share/gnome-shell/extensions/securedrop@securedrop.freedom.press/icons/" owner: amnesia group: amnesia - + - name: Copy the symbolic icon used for the shell extension in the running system become: yes copy: diff --git a/securedrop/i18n_tool.py b/securedrop/i18n_tool.py index 09b0fe5db47..60235052a4e 100755 --- a/securedrop/i18n_tool.py +++ b/securedrop/i18n_tool.py @@ -238,7 +238,7 @@ def set_translate_messages_parser(self, subps: _SubParsersAction) -> None: ) translations_dir = join(dirname(realpath(__file__)), "translations") extension_location = join(dirname(realpath(__file__)), "..", LOCALE_DIR["extension"]) - sources = join(".,source_templates,journalist_templates,",extension_location) + sources = join(".,source_templates,journalist_templates,", extension_location) self.set_translate_parser(parser, translations_dir, sources) mapping = "babel.cfg" parser.add_argument(