diff --git a/openedx/core/lib/block_structure/block_structure.py b/openedx/core/lib/block_structure/block_structure.py index cd2422285f..c0a40b46da 100644 --- a/openedx/core/lib/block_structure/block_structure.py +++ b/openedx/core/lib/block_structure/block_structure.py @@ -66,9 +66,9 @@ class BlockStructure(object): def __iter__(self): """ - The default iterator for a block structure is a topological - traversal since it's the more common case and we currently - need to support DAGs. + The default iterator for a block structure is get_block_keys() + since we need to filter blocks as a list. + A topological traversal can be used to support DAGs. """ return self.get_block_keys()