mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 11:24:25 +00:00
storage.expirer: oops, fix upgrade-handler code
This commit is contained in:
parent
df3f7f93e0
commit
8708045a98
@ -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 self.state["cycle-to-date"]:
|
||||
for k in so_far:
|
||||
self.state["cycle-to-date"].setdefault(k, so_far[k])
|
||||
|
||||
# initialize history
|
||||
|
Loading…
x
Reference in New Issue
Block a user