* conifer/integration/default.py: a better null implementation of course-sections.
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 6 May 2010 01:24:34 +0000 (01:24 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 6 May 2010 01:24:34 +0000 (01:24 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@882 6d9bc8c9-1ec2-4278-b937-99fde70a366f

conifer/integration/default.py

index b553b28..0d9a7b2 100644 (file)
@@ -10,9 +10,9 @@ course_code_cross_listings = None
 
 # See COURSE_SECTIONS.txt for information.
 
-sections_tuple_delimiter   = None
-sections_taught_by         = None
-students_in                = None
-instructors_in             = None
-sections_for_code_and_term = None
+sections_tuple_delimiter   = '|'
+sections_taught_by         = lambda u: []
+students_in                = lambda *sections: set()
+instructors_in             = lambda *sections: set()
+sections_for_code_and_term = lambda code, term: []