[X2Go-Commits] python-x2go.git - release/0.4.0.x (branch) updated: 0.1.1.4-57-ga04eec2

X2Go dev team git-admin at x2go.org
Tue Jan 7 16:17:29 CET 2014


The branch, release/0.4.0.x has been updated
       via  a04eec2fc959054572bed038ede4824ac379d11b (commit)
      from  b2ba91b1c47870a8cc0ac41ec0b3921062cafcba (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 -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 x2go/backends/info/_stdout.py |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/x2go/backends/info/_stdout.py b/x2go/backends/info/_stdout.py
index 529a8f3..c492d2d 100644
--- a/x2go/backends/info/_stdout.py
+++ b/x2go/backends/info/_stdout.py
@@ -27,6 +27,11 @@ via server-side STDOUT.
 """
 __NAME__ = 'x2goserversessioninfo-pylib'
 
+
+# modules
+import types
+
+
 class X2goServerSessionInfoSTDOUT(object):
     """\
     L{X2goServerSessionInfo} is used to store all information
@@ -37,7 +42,11 @@ class X2goServerSessionInfoSTDOUT(object):
     def __str__(self):
         return self.name
     def __repr__(self):
-        return "<%s instance: %s>" % (self.__class__, self.name)
+        result = 'X2goServerSessionInfoSTDOUT('
+        for p in dir(self):
+            if '__' in p or not p in self.__dict__ or type(p) is types.InstanceType: continue
+            result += p + '=' + str(self.__dict__[p]) +','
+        return result.strip(',') + ')'
 
     def _parse_x2golistsessions_line(self, x2go_output):
         """\


hooks/post-receive
-- 
python-x2go.git (Python X2Go Client API)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-x2go.git" (Python X2Go Client API).




More information about the x2go-commits mailing list