Changeset 14671 for main/waeup.kofa/trunk
- Timestamp:
- 6 Apr 2017, 14:07:54 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/app.py
r14638 r14671 79 79 80 80 def updatePlugins(self): 81 """Lookup plugins and call their `update()` method to 82 upgrade Kofa's database since software version 1.4 (2016-01-14). 81 """Lookup an arbitrarily selected set of plugins and call their 82 `update()` method to upgrade Kofa's database since software version 1.4 83 (2016-01-14). 84 85 XXX: This method does not run all plugins registered. 86 87 XXX: Tests for this method were disabled. 83 88 """ 84 getUtility(IKofaPluggable, name='faculties').update( 85 self, 'faculties', self.logger) 86 getUtility(IKofaPluggable, name='departments').update( 87 self, 'departments', self.logger) 88 getUtility(IKofaPluggable, name='certificates').update( 89 self, 'certificates', self.logger) 90 getUtility(IKofaPluggable, name='certcourses').update( 91 self, 'certcourses', self.logger) 89 for name in ['faculties', 'departments', 'certificates', 'certcourses', 90 'site-pluggable-auth']: 91 getUtility(IKofaPluggable, name=name).update( 92 self, name, self.logger) 92 93 return 93 94 attrs_to_fields(University)
Note: See TracChangeset for help on using the changeset viewer.