Skip to content

Commit

Permalink
removed double encoding of keys. Thanks http://github.com/dochead
Browse files Browse the repository at this point in the history
  • Loading branch information
Didip Kerabat committed Sep 27, 2010
1 parent 12295a5 commit 66e5718
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion beaker_extensions/redis_.py
Expand Up @@ -20,7 +20,6 @@ def open_connection(self, host, port, **params):
self.db_conn = Redis(host=host, port=int(port), **params)

def __contains__(self, key):
key = self._format_key(key)
return self.db_conn.exists(self._format_key(key))

def set_value(self, key, value):
Expand Down

0 comments on commit 66e5718

Please sign in to comment.