Ignore:
Timestamp:
21 Jul 2012, 07:33:57 (12 years ago)
Author:
Henrik Bettermann
Message:

Do not open filepath twice.

Fix dicstring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/university/export.py

    r8986 r9031  
    6262        If `filepath` is ``None``, a raw string with CSV data is returned.
    6363        """
    64         writer, outfile = self.get_csv_writer(filepath)
    6564        faculties = site.get('faculties', {})
    6665        return self.export(faculties.values(), filepath)
     
    9089
    9190    def export_all(self, site, filepath=None):
    92         """Export faculties in facultycontainer into filepath as CSV data.
     91        """Export departments in faculty into filepath as CSV data.
    9392
    9493        If `filepath` is ``None``, a raw string with CSV data is returned.
     
    137136
    138137    def export_all(self, site, filepath=None):
    139         """Export faculties in facultycontainer into filepath as CSV data.
     138        """Export courses into filepath as CSV data.
    140139
    141140        If `filepath` is ``None``, a raw string with CSV data is returned.
     
    164163
    165164    def export_all(self, site, filepath=None):
    166         """Export faculties in facultycontainer into filepath as CSV data.
     165        """Export certificates into filepath as CSV data.
    167166
    168167        If `filepath` is ``None``, a raw string with CSV data is returned.
     
    211210
    212211    def export_all(self, site, filepath=None):
    213         """Export faculties in facultycontainer into filepath as CSV data.
     212        """Export certificate courses into filepath as CSV data.
    214213
    215214        If `filepath` is ``None``, a raw string with CSV data is returned.
Note: See TracChangeset for help on using the changeset viewer.