-
-
Notifications
You must be signed in to change notification settings - Fork 452
fix: get requests-ntlm correct #1828
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
Conversation
Update validation to check for non-empty string in pkg_name.
|
OK correct error is now raised: |
| r.raise_for_status() | ||
| for pkg_name in pkgs: | ||
| if not isinstance(pkg_name, str): | ||
| if not isinstance(pkg_name, str) or len(pkg_name) == 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.
I'd split out the error for len=1 TBH; but you provided 'r' from 'requests-ntlm' is not really clear IMO.
|
That... was a fast merge 😅 |
|
Sorry. I was in a rush and needed to move on to other items. I will circle back and address your comments @h-vetinari. Thank you for taking the time to review! |
Follow-up to #1824