You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check_config() function in set_json() under xr.py contains some bugs.
see below what should be changed
def check_configs(name, configs):
[-] if isinstance(name, string_types):
[+] if isinstance(configs, string_types):
...
[-] elif isinstance(name, dict):
[+] elif isinstance(configs, dict):
name is indeed always a string as the function is called with
lines 188,189
updates = create_updates("update_json_configs", update_json_configs)
replaces = create_updates("replace_json_configs", replace_json_configs)
line 155
configs = check_configs(name, configs)
The test should be checked against configs which it the variable containing the actual config and which should be either a string, a dict or an iterable
The text was updated successfully, but these errors were encountered:
check_config() function in set_json() under xr.py contains some bugs.
see below what should be changed
[-] if isinstance(name, string_types):
[+] if isinstance(configs, string_types):
...
[-] elif isinstance(name, dict):
[+] elif isinstance(configs, dict):
name is indeed always a string as the function is called with
lines 188,189
updates = create_updates("update_json_configs", update_json_configs)
replaces = create_updates("replace_json_configs", replace_json_configs)
line 155
configs = check_configs(name, configs)
The test should be checked against configs which it the variable containing the actual config and which should be either a string, a dict or an iterable
The text was updated successfully, but these errors were encountered: