We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e86da commit 15d40ffCopy full SHA for 15d40ff
1 file changed
contentcuration/kolibri_public/utils/export_channel_to_kolibri_public.py
@@ -16,7 +16,7 @@
16
logger = logging.getLogger(__file__)
17
18
19
-class using_temp_migrated_database:
+class using_temp_migrated_content_database:
20
"""
21
A wrapper context manager for read-only access to a content database
22
that might not have all current migrations applied. Works by copying
@@ -77,7 +77,7 @@ def export_channel_to_kolibri_public(
77
else:
78
db_storage_path = versioned_db_storage_path
79
80
- with using_temp_migrated_database(db_storage_path):
+ with using_temp_migrated_content_database(db_storage_path):
81
channel = ExportedChannelMetadata.objects.get(id=channel_id)
82
logger.info(
83
"Found channel {} for id: {} mapping now".format(channel.name, channel_id)
0 commit comments