[session selector] missing not stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Sat, 07 May 2011 09:37:07 +0200
branchstable
changeset 7330 584907154ce3
parent 7329 f2d52aa8bcdb
child 7331 7fcc4f22f3e4
[session selector] missing not
server/session.py
--- a/server/session.py	Fri May 06 18:21:31 2011 +0200
+++ b/server/session.py	Sat May 07 09:37:07 2011 +0200
@@ -65,7 +65,7 @@
     """repository side only selector returning 1 if the session is a regular
     user session and not an internal session
     """
-    return req.is_internal_session
+    return not req.is_internal_session
 
 @objectify_selector
 def is_internal_session(cls, req, **kwargs):