source: WAeUP_SRP/branches/joachim-event-branch/PatchBasicWidgetsUnprepare.py @ 17332

Last change on this file since 17332 was 1071, checked in by joachim, 18 years ago

speed improvements for waeup_edit and portlet_session_info

  • Property svn:keywords set to Id
File size: 333 bytes
Line 
1def unprepare(self, datastructure):
2    # Remove costly things already stored from the datastructure
3    try:
4        del datastructure[self.getWidgetId()]
5    except KeyError:
6        # unprepare may be called several times
7        pass
8from Products.CPSSchemas.BasicWidgets import CPSFileWidget
9CPSFileWidget.unprepare = unprepare
Note: See TracBrowser for help on using the repository browser.