From 85f494db155d13edf3e7f98e833482763f3a8798 Mon Sep 17 00:00:00 2001 From: lenacom Date: Tue, 1 Mar 2016 13:02:57 +0300 Subject: [PATCH] fixed comment --- openedx/core/lib/block_structure/block_structure.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()