Skip to content

Commit

Permalink
HashCache: add missing break during purge
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Domsch authored and mdomsch committed Jun 23, 2012
1 parent 11e5755 commit 0d0b339
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions S3/HashCache.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def purge(self):
for m in self.inodes[d][i].keys():
if 'purge' in self.inodes[d][i][m]:
del self.inodes[d][i]
break

def save(self, f):
d = dict(inodes=self.inodes, version=1)
Expand Down

0 comments on commit 0d0b339

Please sign in to comment.