- Timestamp:
- 15 Nov 2007, 15:05:13 (17 years ago)
- Location:
- WAeUP_SRP/base
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTables.py
r2664 r2665 212 212 out = open(export_file,"a") 213 213 csv_writer = csv.DictWriter(out,fields,) 214 format = '"%(' + ')s","%('.join(fields) + ')s"'214 #format = '"%(' + ')s","%('.join(fields) + ')s"' 215 215 records = self() 216 216 nr2export = len(records) … … 223 223 not_all = False 224 224 d = self.record2dict(fields,record) 225 #d['state'],d['lga'] = formatLGA(d['lga'],voc = self.portal_vocabularies.local_gov_areas)226 #lines.append(format % d)227 225 lines.append(d) 228 226 total += 1
Note: See TracChangeset for help on using the changeset viewer.