Fixed hound's max-length note

This commit is contained in:
Jacob Danell 2023-02-16 13:25:57 +01:00 committed by Jakub Ježek
parent 0124bba40c
commit 7e4457b241

View file

@ -210,7 +210,8 @@ def switch_item(container,
if any(not x for x in [asset_name, subset_name, representation_name]):
repre_id = container["representation"]
representation = get_representation_by_id(project_name, repre_id)
repre_parent_docs = get_representation_parents(project_name, representation)
repre_parent_docs = get_representation_parents(
project_name, representation)
if repre_parent_docs:
version, subset, asset, _ = repre_parent_docs
else: