Changeset 17788 for main/waeup.uniben/trunk
- Timestamp:
- 15 May 2024, 07:00:39 (6 months ago)
- Location:
- main/waeup.uniben/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/dumper.py
r17786 r17788 18 18 get_students,) 19 19 from waeup.kofa.applicants.export import ( 20 ApplicantsContainerExporter, 21 ApplicantRefereeReportExporter,) 20 ApplicantsContainerExporter) 22 21 from waeup.kofa.hostels.export import ( 23 22 HostelExporter, … … 30 29 from waeup.kofa.configuration import ConfigurationContainerExporter 31 30 32 #from kofacustom.nigeria.applicants.export import (33 # NigeriaApplicantPaymentExporter)34 35 31 from waeup.uniben.applicants.export import ( 36 32 CustomApplicantExporter, 37 33 CustomApplicantPaymentExporter, 38 #CustomApplicantRefereeReportExporter39 34 ) 40 35 from waeup.uniben.students.export import ( … … 45 40 CustomCourseTicketExporter, 46 41 ) 47 from waeup.uniben.configuration import CustomConfigurationExporter 42 try: 43 from waeup.uniben.configuration import CustomSessionConfigurationExporter as SessionConfigurationExporter 44 except: 45 from waeup.kofa.configuration import SessionConfigurationExporter 46 47 try: 48 from waeup.uniben.applicants import CustomApplicantRefereeReportExporter as ApplicantRefereeReportExporter 49 except: 50 from waeup.kofa.applicants.export import ApplicantRefereeReportExporter 51 52 try: 53 from waeup.uniben.applicants import CustomApplicantPaymentExporter as ApplicantPaymentExporter 54 except: 55 from kofacustom.nigeria.applicants.export import NigeriaApplicantPaymentExporter as ApplicantPaymentExporter 56 48 57 49 58 exporter_klasses = [ … … 56 65 AccessCodeBatchExporter, 57 66 AccessCodeExporter, 58 CustomConfigurationExporter,67 SessionConfigurationExporter, 59 68 UserExporter, 60 69 ConfigurationContainerExporter, … … 62 71 ApplicantsContainerExporter, 63 72 CustomApplicantExporter, 64 CustomApplicantPaymentExporter,73 ApplicantPaymentExporter, 65 74 ApplicantRefereeReportExporter, 66 #CustomApplicantRefereeReportExporter,67 75 68 76 CustomStudentExporter, … … 80 88 SecondCourseTicketExporter, 81 89 ] 90 91 # exporter_klasses = [] 82 92 83 93 def export_all(root): -
main/waeup.uniben/trunk/src/waeup/uniben/configuration.py
r17780 r17788 26 26 from waeup.kofa.configuration import ( 27 27 SessionConfigurationFactory, SessionConfiguration, 28 ConfigurationProcessor,ConfigurationExporter)28 SessionConfigurationProcessor, SessionConfigurationExporter) 29 29 from waeup.uniben.interfaces import ( 30 30 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) … … 50 50 return implementedBy(CustomSessionConfiguration) 51 51 52 class Custom ConfigurationExporter(ConfigurationExporter):52 class CustomSessionConfigurationExporter(SessionConfigurationExporter): 53 53 """The Configuration Exporter exports all configuration data. It iterates over all 54 54 objects of the ``configuration`` container. … … 56 56 fields = tuple(sorted(iface_names(ICustomSessionConfiguration))) 57 57 58 class Custom ConfigurationProcessor(ConfigurationProcessor):58 class CustomSessionConfigurationProcessor(SessionConfigurationProcessor): 59 59 """The Configuration Processor processes session configuration objects in 60 60 the ``configuration`` container.
Note: See TracChangeset for help on using the changeset viewer.