]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
Simplify cache syncing
authorChris Larson <chris_larson@mentor.com>
Fri, 19 Nov 2010 05:28:09 +0000 (22:28 -0700)
committerChris Larson <chris_larson@mentor.com>
Sun, 21 Nov 2010 18:24:47 +0000 (11:24 -0700)
commit343b6f6255ad020c39e30742175a241f0859a5a6
tree010f147dbbd4c69007e32d21241691824b9f5cb2
parentdf7776f0bbbca99f09686b1d56c855cae16d2ec2
Simplify cache syncing

Rather than adding nocache items to the cache, then copying the cache and
removing them to sync it, don't add them in the first place.  Also use 'with'
for the cachefile.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/cache.py