cubicweb/web/request.py
changeset 11348 70337ad23145
parent 11279 e4f11ef1face
child 11374 0e50215016f3
equal deleted inserted replaced
11347:b4dcfd734686 11348:70337ad23145
   942     def __getattribute__(self, attr):
   942     def __getattribute__(self, attr):
   943         raise AuthenticationError()
   943         raise AuthenticationError()
   944 
   944 
   945     def __bool__(self):
   945     def __bool__(self):
   946         return False
   946         return False
   947     
   947 
   948     __nonzero__ = __bool__
   948     __nonzero__ = __bool__
   949 
   949 
   950 class _MockAnonymousSession(object):
   950 class _MockAnonymousSession(object):
   951     sessionid = 'thisisnotarealsession'
   951     sessionid = 'thisisnotarealsession'
   952 
   952