To test the capture of the returned True or False in the login() function of the simple_webapp.py example, added the 'success_or_fail' assignment:
def login():
"""Authenticate users"""
username = post_get('username')
password = post_get('password')
success_or_fail = aaa.login(username, password, success_redirect='/', fail_redirect='/login')
print 'login success or fail:', success_or_fail
But, the success_or_fail value doesn't print. Any idea why?