Changeset 3655:80de1dd4f61a in livinglogic.python.xist

Show
Ignore:
Timestamp:
12/28/08 10:29:42 (10 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Fixed a bug in ll.make.CacheAction?.get()

The action must return real data when called with bigbang as the timestamp.

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • NEWS.rst

    r3646 r3655  
    77 
    88*   Support for color objects has been added to UL4. 
     9 
     10*   Fixed a bug in :meth:`ll.make.CacheAction.get`: The action must return real 
     11    data when called with ``bigbang`` as the timestamp. 
    912 
    1013 
  • src/ll/make.py

    r3654 r3655  
    768768            self.since = since 
    769769            self.buildno = project.buildno 
    770         if since < self.changed: 
     770        if since < self.changed or since is bigbang: 
    771771            project.writenote(self, "Reusing cached data") 
    772772            return self.data