Revision: 247
Author: roman_yakovenko
Date: 2006-06-24 22:33:28 -0700 (Sat, 24 Jun 2006)
ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=247&view=rev
Log Message:
-----------
removing unnecessary cache flushing ( fix from Allen )
Modified Paths:
--------------
pygccxml_dev/pygccxml/parser/declarations_cache.py
Modified: pygccxml_dev/pygccxml/parser/declarations_cache.py
===================================================================
--- pygccxml_dev/pygccxml/parser/declarations_cache.py 2006-06-24 21:06:52 UTC (rev 246)
+++ pygccxml_dev/pygccxml/parser/declarations_cache.py 2006-06-25 05:33:28 UTC (rev 247)
@@ -137,7 +137,7 @@
cache_base_t.__init__( self )
self.__name = name
self.__cache = self.__load( self.__name )
- self.__needs_flushed = bool( self.__cache ) # If empty then we need to flush
+ self.__needs_flushed = not bool( self.__cache ) # If empty then we need to flush
for entry in self.__cache.itervalues(): # Clear hit flags
entry.was_hit = False
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|