Ignore:
Timestamp:
30 Sep 2012, 20:28:32 (12 years ago)
Author:
Henrik Bettermann
Message:

Archive also the owner of an accesscode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/accesscode.py

    r8389 r9260  
    257257            )
    258258        writer = csv.writer(open(csv_path, 'w'), quoting=csv.QUOTE_ALL)
    259         writer.writerow(['prefix', 'serial', 'ac', 'state', 'history', 'cost'])
     259        writer.writerow(['prefix', 'serial', 'ac', 'state', 'history',
     260            'cost','owner'])
    260261        writer.writerow([self.prefix, '%0.2f' % self.cost, str(self.num),
    261262                         str(self.entry_num)])
     
    266267            writer.writerow([
    267268                    self.prefix, value.batch_serial, value.representation,
    268                     value.state, value.history, value.cost
     269                    value.state, value.history, value.cost, value.owner
    269270                    ])
    270271        return os.path.basename(csv_path)
Note: See TracChangeset for help on using the changeset viewer.