[X2Go-Commits] python-x2go.git - brokerclient (branch) updated: 0.2.0.10-18-gcf9e6e3

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


The branch, brokerclient 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 -----------------------------------------------------------------
-----------------------------------------------------------------------

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
@@ -1376,9 +1376,9 @@ 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)
@@ -1469,9 +1469,9 @@ 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
-- 
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