Changeset 2e5dc1b
- Timestamp:
- Sep 8, 2012, 6:59:23 PM (13 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 9ce8bc1
- Parents:
- 8068f6d
- git-author:
- Alex Dehnert <adehnert@…> (09/08/12 18:55:03)
- git-committer:
- Alex Dehnert <adehnert@…> (09/08/12 18:59:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/groups/gather_constitutions.py
rfb1c047 r2e5dc1b 71 71 print "%4d\t%s" % (len(gs), code, ) 72 72 73 def list_constitutions(): 74 constitutions = groups.models.GroupConstitution.objects.all() 75 for const in constitutions: 76 if const.dest_file: print const.dest_file 77 73 78 if __name__ == '__main__': 74 79 if len(sys.argv) == 1 or sys.argv[1] == "gather": … … 77 82 elif sys.argv[1] == "webstat": 78 83 webstat() 84 elif sys.argv[1] == "list": 85 list_constitutions() 79 86 else: 80 87 raise NotImplementedError
Note: See TracChangeset
for help on using the changeset viewer.