mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-09 19:13:03 +00:00
Apply suggestions from code review
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
This commit is contained in:
@@ -1039,8 +1039,6 @@ def get_class(resource_name):
|
||||
}
|
||||
if resource_name not in class_dict:
|
||||
raise ValueError(
|
||||
"Kind must be one of {}, not {}".format(
|
||||
", ".join(class_dict), resource_name
|
||||
)
|
||||
f'Kind must be one of {", ".join(class_dict)}, not {resource_name}'
|
||||
)
|
||||
return class_dict[resource_name]
|
||||
|
Reference in New Issue
Block a user