Changeset 2c86ed1 for asadb/space/dump_locker_access.py
- Timestamp:
- Apr 8, 2012, 11:47:35 PM (14 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- c3cd6c2
- Parents:
- a03cb61
- git-author:
- Alex Dehnert <adehnert@…> (04/08/12 23:47:35)
- git-committer:
- Alex Dehnert <adehnert@…> (04/08/12 23:47:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/space/dump_locker_access.py
rd85ba8f r2c86ed1 31 31 return space_users 32 32 33 def print_info(space_users): 34 writer = csv.writer(sys.stdout) 33 def print_info(space_users, stream=None, ): 34 if not stream: stream = sys.stdout 35 writer = csv.writer(stream) 35 36 writer.writerow(("space", "last_name", "first_name", "username", "mit_id", )) 36 37 for space_id, users in space_users.items():
Note: See TracChangeset
for help on using the changeset viewer.