Changeset 341979 in indico
- Timestamp:
- 03/31/11 11:08:38 (2 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
- Children:
- 5bda88
- Parents:
- 3faa7f
- File:
-
- 1 edited
-
bin/migration/migrate_0.97_0.98.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bin/migration/migrate_0.97_0.98.py
r0a8409 r341979 78 78 79 79 80 def _fixAccessController(obj): 81 _fixAC(obj) 80 def _fixAccessController(obj, fixSelf=True): 81 # i.e. subcontributions do not have their own AccessController 82 if fixSelf: 83 _fixAC(obj) 82 84 83 85 for mat in obj.getAllMaterialList(): … … 131 133 i = 0 132 134 133 for (level, obj) in console.conferenceHolderIterator(ch, deepness=' contrib'):135 for (level, obj) in console.conferenceHolderIterator(ch, deepness='subcontrib'): 134 136 # only for conferences 135 137 if level == 'event': … … 153 155 _convertAlarms(obj) 154 156 155 _fixAccessController(obj) 157 _fixAccessController(obj, 158 fixSelf=(level != 'subcontrib')) 156 159 157 160 if i % 1000 == 999:
Note: See TracChangeset
for help on using the changeset viewer.
