aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2011-07-04 04:30:01 +0300
committerTheo Chatzimichos <tampakrap@gentoo.org>2011-07-04 04:30:01 +0300
commit8fba0f73288c65068eaee86fdc24b14a14a299b0 (patch)
treeaea9af0063e57b7ae16a153e24f9e9e8d36b020e
parentImprove docstrings (diff)
downloadidentity.gentoo.org-8fba0f73288c65068eaee86fdc24b14a14a299b0.tar.gz
identity.gentoo.org-8fba0f73288c65068eaee86fdc24b14a14a299b0.tar.bz2
identity.gentoo.org-8fba0f73288c65068eaee86fdc24b14a14a299b0.zip
docstrings
-rw-r--r--verification/views.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/verification/views.py b/verification/views.py
index 5b2528c..fd0c0ac 100644
--- a/verification/views.py
+++ b/verification/views.py
@@ -82,13 +82,16 @@ def addEmailToLDAP(request, result, user):
def verification(request, key):
'''
- Check if the given URL exists in the database, and if the user exists
- in the LDAP server, and afterwards try to update the user's email
- list in LDAP
+ Verify email account
'''
msg = ''
result = ''
try:
+ '''
+ Check if the given URL exists in the database, and if the user exists
+ in the LDAP server, and afterwards try to update the user's email
+ list in LDAP
+ '''
result = checkConfirmationKey(key)
user = ldap_user_search(result.user)
if user: