Changeset 13152 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 7 Jul 2015, 17:39:34 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r13133 r13152 23 23 from datetime import datetime, date 24 24 from zope.event import notify 25 from zope.component import getUtility, createObject, getAdapter25 from zope.component import getUtility, queryUtility, createObject, getAdapter 26 26 from zope.catalog.interfaces import ICatalog 27 27 from zope.i18n import translate … … 1254 1254 1255 1255 def update(self): 1256 import pdb; pdb.set_trace() 1257 utils = queryUtility(IKofaUtils) 1258 if not utils.expensive_actions_allowed(): 1259 self.flash(_( 1260 "Currently, exporters cannot be started due to high " 1261 "system load. Please try again later."), type='danger') 1262 self.entries = doll_up(self, user=None) 1263 return 1256 1264 exporter = 'applicants' 1257 1265 container_code = self.context.__parent__.code
Note: See TracChangeset for help on using the changeset viewer.