Changeset 9847
- Timestamp:
- 9 Jan 2013, 06:33:17 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/catalog.py
r9846 r9847 124 124 if idx_name == 'catalog': 125 125 continue 126 if isinstance(value, str)and ('session' in idx_name126 if value is not None and ('session' in idx_name 127 127 or 'level' in idx_name): 128 128 value = int(value) -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py
r9846 r9847 205 205 exporter.export_filtered( 206 206 self.app, self.outfile, 207 current_session=None, current_level= '200')207 current_session=None, current_level=u'200') 208 208 result3 = open(self.outfile, 'rb').read() 209 209 exporter.export_filtered( … … 232 232 exporter.export_filtered( 233 233 self.app, self.outfile, 234 current_session='2012', current_level= '200', depcode='NA')234 current_session='2012', current_level=u'200', depcode='NA') 235 235 result1 = open(self.outfile, 'rb').read() 236 236 # ... and an integer
Note: See TracChangeset for help on using the changeset viewer.