X2Go dev team | 2 Oct 17:42 2012

python-x2go.git - master (branch) updated: 0.2.0.10-18-gcf9e6e3

The branch, master has been updated
       via  cf9e6e3eaf59710e86d896a5cd80d122a1afa3e8 (commit)
      from  a737395d986559888c214c894cce07d614bab78a (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 cf9e6e3eaf59710e86d896a5cd80d122a1afa3e8
Author: Mike Gabriel <mike.gabriel@...>
Date:   Tue Oct 2 17:41:55 2012 +0200

    follow-up fix for last commit

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

Summary of changes:
 x2go/backends/terminal/_stdout.py |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

The diff of changes is:
diff --git a/x2go/backends/terminal/_stdout.py b/x2go/backends/terminal/_stdout.py
index 4055f09..3c70978 100644
--- a/x2go/backends/terminal/_stdout.py
+++ b/x2go/backends/terminal/_stdout.py
 <at>  <at>  -1376,9 +1376,9  <at>  <at>  class X2goTerminalSessionSTDOUT(object):

         if self.params.geometry == 'maximize':
             _geometry = utils.get_workarea_geometry()
-            if len(_geometry) != 2:
+            if _geometry and len(_geometry) != 2:
                 _geometry = utils.get_desktop_geometry()
-            if len(_geometry) == 2:
+            if _geometry and len(_geometry) == 2:
                 self.params.geometry = "%sx%s" % _geometry
             else:
                 self.logger('failed to detect best maxmimized geometry of your client-side desktop', loglevel=log.loglevel_WARN)
 <at>  <at>  -1469,9 +1469,9  <at>  <at>  class X2goTerminalSessionSTDOUT(object):

         if self.params.geometry == 'maximize':
             _geometry = utils.get_workarea_geometry()
-            if len(_geometry) != 2:
+            if _geometry and len(_geometry) != 2:
                 _geometry = utils.get_desktop_geometry()
-            if len(_geometry) == 2:
+            if _geometry and len(_geometry) == 2:
                 self.params.geometry = "%sx%s" % _geometry
             else:
                 self.logger('failed to detect best maxmimized geometry of your client-side desktop', loglevel=log.loglevel_WARN)

hooks/post-receive

Gmane