File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
contentcuration/kolibri_public/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1616logger = logging .getLogger (__file__ )
1717
1818
19- class using_temp_migrated_database :
19+ class using_temp_migrated_content_database :
2020 """
2121 A wrapper context manager for read-only access to a content database
2222 that might not have all current migrations applied. Works by copying
@@ -77,7 +77,7 @@ def export_channel_to_kolibri_public(
7777 else :
7878 db_storage_path = versioned_db_storage_path
7979
80- with using_temp_migrated_database (db_storage_path ):
80+ with using_temp_migrated_content_database (db_storage_path ):
8181 channel = ExportedChannelMetadata .objects .get (id = channel_id )
8282 logger .info (
8383 "Found channel {} for id: {} mapping now" .format (channel .name , channel_id )
You can’t perform that action at this time.
0 commit comments