Skip to content

fix find_in_po. Make it Windows compatible - #2714

Merged
rtobar merged 3 commits into
python:3.12from
cacrespo:fix_find_in_po
Oct 28, 2023
Merged

fix find_in_po. Make it Windows compatible#2714
rtobar merged 3 commits into
python:3.12from
cacrespo:fix_find_in_po

Conversation

@cacrespo

Copy link
Copy Markdown
Collaborator

Use os.get_terminal_size() instead of stty size for width

Comment thread scripts/find_in_po.py Outdated
Co-authored-by: Marco Richetta <marco.richetta@mercadolibre.com>
@cacrespo

Copy link
Copy Markdown
Collaborator Author

@marcorichetta gracias por la sugerencia. Toda la razón my friend!

@rtobar rtobar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aún no entiendo por qué el except no estaba funcionando cuando debiera haber atrapado el error de que no hacía un programa stty en Windows, pero al menos esto abrió una buena discusión. Acá dejo mi comentario, creo que este código se puede simplificar aún más

Comment thread scripts/find_in_po.py Outdated

@rtobar rtobar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Se ve súper ahora, 👍

@rtobar
rtobar merged commit 7f5d59d into python:3.12 Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants