Changeset 5123
- Timestamp:
- 5 Apr 2010, 12:46:06 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py
r5121 r5123 187 187 for value in self._entries: 188 188 date = '' 189 stud_id = ''190 189 if value.invalidation_date is not None: 191 190 date = value.invalidation_date.strftime( 192 191 '%Y-%m-%d-%H-%M-%S') 193 if stud_id is not None:194 stud_id = value.student_id195 192 writer.writerow([ 196 193 self.prefix, value.batch_serial, value.representation, 197 stud_id, date194 value.student_id, date 198 195 ]) 199 196 return os.path.basename(csv_path)
Note: See TracChangeset for help on using the changeset viewer.