Merged in bugfix/set-locale-error (pull request #11)

bugfix: set locale error

Approved-by: Jonathan Teran
This commit is contained in:
JonathanGitFlow
2025-11-02 18:34:15 +00:00
committed by jt
2 changed files with 17 additions and 1 deletions
+12
View File
@@ -1,3 +1,15 @@
## Domingo, 2 de Noviembre de 2025, 15:32
- Autor: [Jonathan Teran Carballo](mailto:jonathan.nerat@gmail.com)
- Rama: `bugfix/set-locale-error`
### Commits
- **bugfix**: agrego try except al setlocale para capturar errores en pipeline (f45d313)
- git-flow (M)
---
## Domingo, 2 de Noviembre de 2025, 14:00
- Autor: [Jonathan Teran Carballo](mailto:jonathan.nerat@gmail.com)
+5 -1
View File
@@ -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