Skip to content

Commit 059a9b3

Browse files
author
root
committed
Remove the sub_type code that was added previously
1 parent 3b939b1 commit 059a9b3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

dp/data/course.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,6 @@ def apply_predicate__crsid(course: CourseInstance, clause: 'Predicate') -> bool:
257257
def apply_predicate__name(course: CourseInstance, clause: 'Predicate') -> bool:
258258
return clause.compare(course.name)
259259

260-
def apply_predicate__sub_type(course: CourseInstance, clause: 'Predicate') -> bool:
261-
return clause.compare(course.sub_type)
262-
263260

264261
clause_application_lookup: Dict[str, Callable[[CourseInstance, 'Predicate'], bool]] = {
265262
'ap': apply_predicate__ap,
@@ -283,7 +280,6 @@ def apply_predicate__sub_type(course: CourseInstance, clause: 'Predicate') -> bo
283280
'number': apply_predicate__number,
284281
'semester': apply_predicate__semester,
285282
'subject': apply_predicate__subject,
286-
'sub_type': apply_predicate__sub_type,
287283
'type': apply_predicate__type,
288284
'year': apply_predicate__year,
289285
}

0 commit comments

Comments
 (0)