From 4201d2f120c4ed895f266a2d80cd8abcfc068e3b Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 28 Jan 2013 19:23:42 +0400 Subject: [PATCH] bugfix: quotes introduced in the pep8 commit --- backends/bitcoind/blockchain_processor.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backends/bitcoind/blockchain_processor.py b/backends/bitcoind/blockchain_processor.py index 67cfba8..93177e1 100644 --- a/backends/bitcoind/blockchain_processor.py +++ b/backends/bitcoind/blockchain_processor.py @@ -744,7 +744,7 @@ class BlockchainProcessor(Processor): def invalidate_cache(self, address): with self.cache_lock: - if 'address' in self.history_cache: + if address in self.history_cache: print_log("cache: invalidating", address) self.history_cache.pop(address) -- 1.7.1