Ignore:
Timestamp:
15 Jan 2015, 06:21:08 (10 years ago)
Author:
Henrik Bettermann
Message:

Update only documents plugin. Otherwise updates take too long (Uniben > 1 hour).

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/app.py

    r11477 r12472  
    8484        grok.notify(ObjectUpgradeEvent(self))
    8585        self.logger.info('Done.')
    86         self.logger.info('Now upgrading any plugins.')
     86        #self.logger.info('Now upgrading any plugins.')
     87        self.logger.info('Now upgrading documents plugin.')
    8788        for name, plugin in getUtilitiesFor(IKofaPluggable):
    88             plugin.update(self, name, self.logger)
     89            if name in ('documents',):
     90                plugin.update(self, name, self.logger)
    8991        self.logger.info('Plugin update finished.')
    9092        return
  • main/waeup.kofa/trunk/src/waeup/kofa/tests/test_app.py

    r9217 r12472  
    6060        # We can update plugins
    6161        setSite(self.app)
    62         del self.app['accesscodes']
     62        del self.app['documents']
    6363        self.app.updatePlugins()
    64         self.assertTrue('accesscodes' in self.app.keys())
     64        self.assertTrue('documents' in self.app.keys())
    6565        return
    6666
Note: See TracChangeset for help on using the changeset viewer.