-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert freeze_versions
to Python
#105
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rf to use argparse right away for better cli
scripts/freeze_versions
Outdated
echo "Unknown option '$arg'" >&2 | ||
exit 5 | ||
esac | ||
for arg in sys.argv[1:]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please right away rf it to use built in argparse
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: 46cba7c.
Co-authored-by: Yaroslav Halchenko <debian@onerussian.com>
@yarikoptic Ping. |
1 similar comment
@yarikoptic Ping. |
Thank you @jwodder ! Let's proceed -- I guess I will test/try/fix in the battlefield. |
Closes #101.
This is just a direct translation. There is various room for improvement of the code quality, but that can come later.