Skip to content

Commit

Permalink
Merge pull request blaze#21 from thyrgle/unused
Browse files Browse the repository at this point in the history
Removed unused variables.
  • Loading branch information
mrocklin committed May 25, 2016
2 parents 230c660 + 0fd3b24 commit 2e67241
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions chest/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ def shrink(self):

while self.memory_usage > self.available_memory:
key, _ = self.heap.popitem()
data = self.inmem[key]
try:
self.move_to_disk(key)
except TypeError:
Expand All @@ -278,7 +277,6 @@ def __enter__(self):

def __exit__(self, eType, eValue, eTrace):
with self.lock:
L = os.listdir(self.path)
if not self._explicitly_given_path and os.path.exists(self.path):
self.drop() # pragma: no cover

Expand Down

0 comments on commit 2e67241

Please sign in to comment.