Brian Sutherland
2010-12-16 cfe26c0de34069c37ab0fb40b87d96f65d5c4e44
refs
author Brian Sutherland <brian@vanguardistas.net>
Thursday, December 16, 2010 11:22 +0100
committer Brian Sutherland <brian@vanguardistas.net>
Thursday, December 16, 2010 11:22 +0100
commitcfe26c0de34069c37ab0fb40b87d96f65d5c4e44
tree 101e2b55926b2ed41dfeb4ef386bd44abb0203cb tree | zip | gz
parent fc9a88b113b48c5230b075ee2b06c023a190cc84 view | diff
Fix bug in repoze.who.api where the remember() or forget() methods could 
return a None if the identifier plugin returned a None. According to the
interfaces in repoze.who.interfaces the API methods cannot return None while
the plugin methods can.

I'm not entirely sure this fix is right. I'm assuming that the interface
documentation is more correct than the code in this case.

3 files modified
30 ■■■■ changed files
CHANGES.txt 5 ●●●●● diff | view | raw | blame | history
repoze/who/api.py 10 ●●●●● diff | view | raw | blame | history
repoze/who/tests/test_api.py 15 ●●●●● diff | view | raw | blame | history