From: SONOLET Aymeric Date: Thu, 1 Feb 2024 12:52:09 +0000 (+0100) Subject: Fix: add missing import gettext as _ X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fspns%2F40791;p=tools%2Fsat.git Fix: add missing import gettext as _ --- diff --git a/commands/source_update.py b/commands/source_update.py index 7c45605..9f4d6be 100644 --- a/commands/source_update.py +++ b/commands/source_update.py @@ -17,6 +17,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA import os +from gettext import gettext as _ import src import source diff --git a/commands/update.py b/commands/update.py index e0e050f..c981d22 100644 --- a/commands/update.py +++ b/commands/update.py @@ -20,6 +20,7 @@ import os import src import prepare +from gettext import gettext as _ # Define all possible option for update command : sat update