Logo Search packages:      
Sourcecode: zope-loginmanager version File versions

def ZPatterns::Rack::Rack::manage_pack (   self,
  REQUEST = None 

Pack storage and remove unused objects

Definition at line 411 of file Rack.py.

00411                                       :
        """Pack storage and remove unused objects"""

        if self.__readableStorage:
            for id in self.getPersistentItemIDs():
                if self.getItem(id) is None: del w[id]
                c=(c+1) % 1000
                if not c: get_transaction().commit(1)

        if REQUEST is not None:
            return self.manage_storageForm(self, REQUEST,
                manage_tabs_message='Pack completed.')

    manage_options_right = (

Generated by  Doxygen 1.6.0   Back to index