Permalink
Browse files

Merge

  • Loading branch information...
2 parents 45dd3a2 + d1a5f0e commit febfd3a163fc7c483b4fd0b3ebe6759a0fe54e12 @bbangert committed Aug 13, 2012
Showing with 4 additions and 0 deletions.
  1. +1 −0 beaker/crypto/pycrypto.py
  2. +3 −0 beaker/session.py
@@ -29,5 +29,6 @@ def aesDecrypt(data, key):
return cipher.decrypt(data)
+
def getKeyLength():
return 32
View
@@ -170,6 +170,9 @@ def __init__(self, request, id=None, invalidate_corrupt=False,
else:
raise
+ def has_key(self, name):
+ return name in self
+
def _set_cookie_values(self, expires=None):
self.cookie[self.key] = self.id
if self._domain:

0 comments on commit febfd3a

Please sign in to comment.