summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/hosting/server/authn.py
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/hosting/server/authn.py')
-rw-r--r--sca-cpp/trunk/hosting/server/authn.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sca-cpp/trunk/hosting/server/authn.py b/sca-cpp/trunk/hosting/server/authn.py
index 4d4f34b9fb..02c24a2852 100644
--- a/sca-cpp/trunk/hosting/server/authn.py
+++ b/sca-cpp/trunk/hosting/server/authn.py
@@ -16,7 +16,6 @@
# under the License.
# User authenticator implementation
-from time import strftime
from util import *
# Convert a particular user id to an authentication id
@@ -26,7 +25,7 @@ def authnid(id):
# Get a user's authentication
def get(id, cache):
authn = cache.get(authnid(id))
- if isNil(authn) or authn is None:
+ if isNil(authn):
return None
return authn