From f45d313fd496587a6067e677aef23cca729c7014 Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Sun, 2 Nov 2025 15:32:12 -0300 Subject: [PATCH] bugfix: agrego try except al setlocale para capturar errores en pipeline --- git-flow | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/git-flow b/git-flow index 3e49964..b34c31e 100755 --- a/git-flow +++ b/git-flow @@ -12,10 +12,14 @@ from lib.io import * REPOSITORY_TOKEN_PATH=".repository-token" +LOCALE = 'es_AR.UTF-8' def main(): - locale.setlocale(locale.LC_ALL, 'es_AR.UTF-8') + try: + locale.setlocale(locale.LC_ALL, LOCALE) + except locale.Error as e: + print_warning(f"No se pudo configurar el locale '{LOCALE}': {e}") args = sys.argv