Changeset 5f07d50
- Timestamp:
- Sep 9, 2012, 6:43:39 AM (13 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- ed5797d
- Parents:
- 9ce8bc1
- git-author:
- Alex Dehnert <adehnert@…> (09/08/12 21:40:14)
- git-committer:
- Alex Dehnert <adehnert@…> (09/09/12 06:43:39)
- Location:
- asadb/groups
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/groups/gather_constitutions.py
r2e5dc1b r5f07d50 12 12 import datetime 13 13 import subprocess 14 15 import reversion 14 16 15 17 import groups.models … … 78 80 if __name__ == '__main__': 79 81 if len(sys.argv) == 1 or sys.argv[1] == "gather": 80 additions, changed = gather_constitutions() 82 with reversion.create_revision(): 83 additions, changed = gather_constitutions() 84 importer = django.contrib.auth.models.User.objects.get(username='gather-constitutions@SYSTEM', ) 85 reversion.set_user(importer) 86 reversion.set_comment("gather constitutions") 87 81 88 update_repo(additions, changed) 82 89 elif sys.argv[1] == "webstat":
Note: See TracChangeset
for help on using the changeset viewer.