Commit d5637803 authored by Jim Fulton's avatar Jim Fulton

Added code to tickle cache.

parent 70f6013d
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
__doc__='''Application support __doc__='''Application support
$Id: Application.py,v 1.43 1998/01/29 20:52:20 brian Exp $''' $Id: Application.py,v 1.44 1998/02/05 15:17:16 jim Exp $'''
__version__='$Revision: 1.43 $'[11:-2] __version__='$Revision: 1.44 $'[11:-2]
import Globals,Folder,os,regex,sys import Globals,Folder,os,regex,sys
...@@ -117,6 +117,8 @@ class Application(Folder.Folder): ...@@ -117,6 +117,8 @@ class Application(Folder.Folder):
alternate_self=alternate_self.__of__(self.aq_parent) alternate_self=alternate_self.__of__(self.aq_parent)
return alternate_self return alternate_self
self._p_jar.cache.incrgc() # Perform incremental GC
try: return getattr(self, name) try: return getattr(self, name)
except AttributeError: except AttributeError:
try: return self[name] try: return self[name]
...@@ -345,6 +347,9 @@ class Misc_: ...@@ -345,6 +347,9 @@ class Misc_:
############################################################################## ##############################################################################
# #
# $Log: Application.py,v $ # $Log: Application.py,v $
# Revision 1.44 1998/02/05 15:17:16 jim
# Added code to tickle cache.
#
# Revision 1.43 1998/01/29 20:52:20 brian # Revision 1.43 1998/01/29 20:52:20 brian
# Fixed up eval support # Fixed up eval support
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment