filecache: fix check-code complaint

This commit is contained in:
Matt Mackall 2011-07-25 12:58:47 -05:00
parent e37d7b9cbe
commit 291c95dda6

View File

@ -74,7 +74,8 @@ def fakeuncacheable():
pass
originit = extensions.wrapfunction(util.cachestat, '__init__', wrapinit)
origcacheable = extensions.wrapfunction(util.cachestat, 'cacheable', wrapcacheable)
origcacheable = extensions.wrapfunction(util.cachestat, 'cacheable',
wrapcacheable)
try:
os.remove('x')