Skip to content

Commit f39a442

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2da4c7b commit f39a442

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

learning_resources_search/tasks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,6 @@ def start_recreate_index(self, indexes, remove_existing_reindexing_tags): # noq
649649
)
650650
]
651651

652-
653652
for resource_type in set(LEARNING_RESOURCE_TYPES) - {COURSE_TYPE}:
654653
if resource_type in indexes:
655654
index_tasks = index_tasks + [

learning_resources_search/tasks_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
COMBINED_INDEX,
2727
CONTENT_FILE_TYPE,
2828
COURSE_TYPE,
29-
PROGRAM_TYPE,
3029
LEARNING_RESOURCE_TYPES,
30+
PROGRAM_TYPE,
3131
IndexestoUpdate,
3232
)
3333
from learning_resources_search.exceptions import ReindexError, RetryError

0 commit comments

Comments
 (0)