Changeset 17788


Ignore:
Timestamp:
15 May 2024, 07:00:39 (6 months ago)
Author:
Henrik Bettermann
Message:

Adjust to base package.

Location:
main/waeup.uniben/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/dumper.py

    r17786 r17788  
    1818    get_students,)
    1919from waeup.kofa.applicants.export import (
    20         ApplicantsContainerExporter,
    21         ApplicantRefereeReportExporter,)
     20        ApplicantsContainerExporter)
    2221from waeup.kofa.hostels.export import (
    2322        HostelExporter,
     
    3029from waeup.kofa.configuration import ConfigurationContainerExporter
    3130
    32 #from kofacustom.nigeria.applicants.export import (
    33 #        NigeriaApplicantPaymentExporter)
    34 
    3531from waeup.uniben.applicants.export import (
    3632        CustomApplicantExporter,
    3733        CustomApplicantPaymentExporter,
    38         #CustomApplicantRefereeReportExporter
    3934        )
    4035from waeup.uniben.students.export import (
     
    4540        CustomCourseTicketExporter,
    4641        )
    47 from waeup.uniben.configuration import CustomConfigurationExporter
     42try:
     43  from waeup.uniben.configuration import CustomSessionConfigurationExporter as SessionConfigurationExporter
     44except:
     45  from waeup.kofa.configuration import SessionConfigurationExporter
     46
     47try:
     48  from waeup.uniben.applicants import CustomApplicantRefereeReportExporter as ApplicantRefereeReportExporter
     49except:
     50  from waeup.kofa.applicants.export import ApplicantRefereeReportExporter
     51
     52try:
     53  from waeup.uniben.applicants import CustomApplicantPaymentExporter as ApplicantPaymentExporter
     54except:
     55  from kofacustom.nigeria.applicants.export import NigeriaApplicantPaymentExporter as ApplicantPaymentExporter
     56
    4857
    4958exporter_klasses = [
     
    5665    AccessCodeBatchExporter,
    5766    AccessCodeExporter,
    58     CustomConfigurationExporter,
     67    SessionConfigurationExporter,
    5968    UserExporter,
    6069    ConfigurationContainerExporter,
     
    6271    ApplicantsContainerExporter,
    6372    CustomApplicantExporter,
    64     CustomApplicantPaymentExporter,
     73    ApplicantPaymentExporter,
    6574    ApplicantRefereeReportExporter,
    66     #CustomApplicantRefereeReportExporter,
    6775
    6876    CustomStudentExporter,
     
    8088    SecondCourseTicketExporter,
    8189    ]
     90
     91# exporter_klasses = []
    8292
    8393def export_all(root):
  • main/waeup.uniben/trunk/src/waeup/uniben/configuration.py

    r17780 r17788  
    2626from waeup.kofa.configuration import (
    2727    SessionConfigurationFactory, SessionConfiguration,
    28     ConfigurationProcessor, ConfigurationExporter)
     28    SessionConfigurationProcessor, SessionConfigurationExporter)
    2929from waeup.uniben.interfaces import (
    3030    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
     
    5050        return implementedBy(CustomSessionConfiguration)
    5151
    52 class CustomConfigurationExporter(ConfigurationExporter):
     52class CustomSessionConfigurationExporter(SessionConfigurationExporter):
    5353    """The Configuration Exporter exports all configuration data. It iterates over all
    5454    objects of the ``configuration`` container.
     
    5656    fields = tuple(sorted(iface_names(ICustomSessionConfiguration)))
    5757
    58 class CustomConfigurationProcessor(ConfigurationProcessor):
     58class CustomSessionConfigurationProcessor(SessionConfigurationProcessor):
    5959    """The Configuration Processor processes session configuration objects in
    6060    the ``configuration`` container.
Note: See TracChangeset for help on using the changeset viewer.