Merge pull request #21669 from edx/BOM-450

BOM-450
This commit is contained in:
Ayub
2019-09-17 10:12:05 +05:00
committed by GitHub

View File

@@ -637,7 +637,7 @@ class ModuleStoreAssetBase(object):
if asset_type is None:
# Add assets of all types to the sorted list.
all_assets = SortedAssetList(iterable=[], key=key_func)
for asset_type, val in course_assets.iteritems():
for asset_type, val in six.iteritems(course_assets):
all_assets.update(val)
else:
# Add assets of a single type to the sorted list.