From d68b1ba94236cc8297c3786097038bc0fd2316e4 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Fri, 30 May 2014 17:02:21 -0700 Subject: [PATCH] Remove AuthKey.live, which didn't work anyway. --- lib/auth.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/auth.py b/lib/auth.py index 312bd15..980eb05 100644 --- a/lib/auth.py +++ b/lib/auth.py @@ -26,7 +26,6 @@ class BadSignature(Exception): class AuthKey(db.Model): auth_key = db.ByteStringProperty(required=True) - live = db.BooleanProperty(required=True, default=True) _KEY_CHARS = string.ascii_letters + string.digits @@ -37,7 +36,7 @@ def GetAuthKey(): if _AUTH_KEY: return _AUTH_KEY[0] - auth_keys = AuthKey.all().filter('live =', True).fetch(1) + auth_keys = AuthKey.all().fetch(1) if auth_keys: auth_key = auth_keys[0].auth_key else: