projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df3f7f9
)
storage.expirer: oops, fix upgrade-handler code
author
Brian Warner
<warner@lothar.com>
Mon, 9 Mar 2009 03:55:16 +0000
(20:55 -0700)
committer
Brian Warner
<warner@lothar.com>
Mon, 9 Mar 2009 03:55:16 +0000
(20:55 -0700)
src/allmydata/storage/expirer.py
patch
|
blob
|
history
diff --git
a/src/allmydata/storage/expirer.py
b/src/allmydata/storage/expirer.py
index 32913cb9e820f45f170b5ef80d2eccb544cc3dfb..5769cb64c2d64fad82d19cd6b0cb6e0528cf1bbf 100644
(file)
--- a/
src/allmydata/storage/expirer.py
+++ b/
src/allmydata/storage/expirer.py
@@
-63,7
+63,7
@@
class LeaseCheckingCrawler(ShareCrawler):
self.state.setdefault("cycle-to-date", so_far)
# in case we upgrade the code while a cycle is in progress, update
# the keys individually
- for k in s
elf.state["cycle-to-date"]
:
+ for k in s
o_far
:
self.state["cycle-to-date"].setdefault(k, so_far[k])
# initialize history