Skip to content
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

json_validation.py: reference to undefined variable name #7752

Open
SwooshyCueb opened this issue May 22, 2024 · 1 comment
Open

json_validation.py: reference to undefined variable name #7752

SwooshyCueb opened this issue May 22, 2024 · 1 comment
Labels
Milestone

Comments

@SwooshyCueb
Copy link
Member

This method in json_validation.py references an undefined variable name:

def load_json_schema_from_web(schema_uri):
try:
response = requests.get(schema_uri, timeout=5)
except NameError:
six.reraise(IrodsError,
IrodsError('WARNING: Validation failed for {0} -- requests not installed'.format(name)),
sys.exc_info()[2])

Apparently it's been this way for at least eight years.

@SwooshyCueb SwooshyCueb added this to the 4.3.3 milestone May 22, 2024
@trel
Copy link
Member

trel commented May 22, 2024

oh, perfect.

@SwooshyCueb SwooshyCueb modified the milestones: 4.3.3, 4.3.4, 4.3.5 Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants