Changeset 385
- Timestamp:
- 10/22/10 13:03:30
- Files:
-
- spongenet/trunk/spongenet/query.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
spongenet/trunk/spongenet/query.py
r384 r385 436 436 rows = [[] for cell in varmap["time"]] 437 437 for column in columns: 438 for pos in range(len(rows)): 439 cell = varmap[column][pos] 438 for row, cell in zip(rows, varmap[column]): 440 439 if column == "time": 441 440 cell = time.strftime("%m/%d/%Y %H:%M:%S", 442 441 time.gmtime(cell)) 443 row s[pos].append(cell)442 row.append(cell) 444 443 445 444 # Output the CSV file.