Changeset 11894 for main/kofacustom.pcn/trunk/src/kofacustom/pcn
- Timestamp:
- 28 Oct 2014, 20:55:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.pcn/trunk/src/kofacustom/pcn/browser/pages.py
r11845 r11894 21 21 LoginPage, CertificatePage, CertificateManageFormPage, DepartmentPage, 22 22 DepartmentManageFormPage, CertificateAddFormPage, DepartmentAddFormPage, 23 FacultyManageFormPage, FacultyAddFormPage, LoginPage) 23 FacultyManageFormPage, FacultyAddFormPage, LoginPage, 24 DatacenterImportStep2, 25 DatacenterUploadPage) 24 26 from waeup.kofa.university.interfaces import ICertificate 25 27 from kofacustom.pcn.interfaces import ( … … 95 97 """A login page, available for all objects. 96 98 """ 99 100 class DatacenterUploadPage(DatacenterUploadPage): 101 102 def getImporters(self): 103 importer_props = super(DatacenterUploadPage, self).getImporters() 104 filtered = [ip for ip in importer_props if ip['name'] in 105 ('facultyprocessor', 'departmentprocessor',)] 106 return filtered 107 108 class DatacenterImportStep2(DatacenterImportStep2): 109 110 def getImporters(self): 111 importers = super(DatacenterImportStep2, self).getImporters() 112 filtered = [i for i in importers if i['name'] in 113 ('facultyprocessor', 'departmentprocessor',)] 114 return filtered
Note: See TracChangeset for help on using the changeset viewer.