[X2Go-Commits] [x2gobroker] 08/08: X2GoBroker.check_for_sessions(): Fix check for shadow / non-shadow sessions.
git-admin at x2go.org
git-admin at x2go.org
Thu Mar 26 11:47:56 CET 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gobroker.
commit 31696a18f48fafc103c798d56a987fee448933d1
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Thu Mar 26 11:45:33 2015 +0100
X2GoBroker.check_for_sessions(): Fix check for shadow / non-shadow sessions.
---
x2gobroker/brokers/base_broker.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x2gobroker/brokers/base_broker.py b/x2gobroker/brokers/base_broker.py
index ad22803..189c679 100644
--- a/x2gobroker/brokers/base_broker.py
+++ b/x2gobroker/brokers/base_broker.py
@@ -1172,7 +1172,7 @@ class X2GoBroker(object):
do_check = True
# do check, for all commands except the "SHADOW" command
- do_check = do_check and self.is_shadow_profile(profile_id)
+ do_check = do_check and not self.is_shadow_profile(profile_id)
return do_check
--
Alioth's /srv/git/code.x2go.org/x2gobroker.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
More information about the x2go-commits
mailing list