source: WAeUP_SRP/trunk/PatchBasicWidgetsUnprepare.py @ 1753

Last change on this file since 1753 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
RevLine 
[1065]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
[1071]8from Products.CPSSchemas.BasicWidgets import CPSFileWidget
9CPSFileWidget.unprepare = unprepare
Note: See TracBrowser for help on using the repository browser.