Hi,

While reading identity.conditions, I noticed this in
not_anonymous.eval_with_object.
Shouldn't line 108 be :

108        if identity.anonymous:

?

The 1.0 branch contains the following :

103 class not_anonymous(Predicate, IdentityPredicateHelper):
104     """Predicate for checking whether current visitor is anonymous."""
105     error_message = "Anonymous access denied"
106
107     def eval_with_object(self, identity, errors=None):
108         if current.anonymous:
109             self.append_error_message(errors)
110             return False
111         return True

I'm just curious.

Regards,

Christophe

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to