Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: X2Go dev team <git-admin-P0WSJaAXTow <at> public.gmane.org>
Subject: x2gobroker.git - master (branch) updated: 0.0.0.1-47-g9999ded
Newsgroups: gmane.linux.terminal-server.x2go.scm
Date: Thursday 21st February 2013 00:27:11 UTC (over 3 years ago)
The branch, master has been updated
       via  9999ded2eb06bb37af92e788dc4396d4885e9006 (commit)
      from  e1e748e3c3b804f4ddccce138ee12069004e816b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9999ded2eb06bb37af92e788dc4396d4885e9006
Author: Mike Gabriel

Date:   Thu Feb 21 01:29:45 2013 +0100

    list with empty string is an empty list...

-----------------------------------------------------------------------

Summary of changes:
 x2gobroker/agent.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

The diff of changes is:
diff --git a/x2gobroker/agent.py b/x2gobroker/agent.py
index 3beeaff..c9d2489 100644
--- a/x2gobroker/agent.py
+++ b/x2gobroker/agent.py
@@ -52,7 +52,7 @@ def call_local_broker_agent(username, mode):
 
     result = agent_process.stdout.read().split('\n')
     if result[0].startswith('OK'):
-        return result[1:]
+        return [ r for r in result[1:] if r ]
 
 def call_remote_broker_agent(username, mode, remote_agent):
     """\


hooks/post-receive
 
CD: 16ms