- Timestamp:
- 20 Jun 2011, 22:50:48 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py
r6432 r6439 170 170 ) 171 171 writer = csv.writer(open(csv_path, 'w'), quoting=csv.QUOTE_ALL) 172 writer.writerow(['prefix', 'serial', 'ac', 'date']) 172 writer.writerow(['prefix', 'serial', 'ac', 'used', 173 'disabled', 'history']) 173 174 writer.writerow([self.prefix, '%0.2f' % self.cost, str(self.num), 174 175 str(self.entry_num)]) … … 179 180 writer.writerow([ 180 181 self.prefix, value.batch_serial, value.representation, 182 value.used and '1' or '0', value.disabled and '1' or '0', 183 value.history 181 184 ]) 182 185 return os.path.basename(csv_path)
Note: See TracChangeset for help on using the changeset viewer.