-
Notifications
You must be signed in to change notification settings - Fork 94
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
review: small fixes #6541
review: small fixes #6541
Conversation
# This code is derived from the cPython "urllib" module and retains its | ||
# original license. | ||
# | ||
# Python software and documentation are licensed under the | ||
# Python Software Foundation License Version 2. |
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.
@dpmatthews, can you ok this.
Sadly I couldn't achieve the required changes via hot patching.
The original code can be found here (2.7) https://github.com/python/cpython/blob/8d21aa21f2cbc6d50aab3f420bb23be1d081dac4/Lib/urllib.py#L1269
And the license here: https://github.com/python/cpython/blob/v2.7.18/LICENSE#L62
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.
LGTM
|
||
# BAD | ||
>>> CylcReviewService._check_link_path( | ||
... os.path.expanduser('~/cylc-run/elephant'), 'shrew' |
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.
As a member of the Afrotherium clade elephant shrews are more closely related to elephants than shrews.
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.
TIL
Hopefully the final set of Cylc Review changes.
Closes #6171
Addresses #3441
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).?.?.x
branch.