[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.1.1.4-89-g5748487

X2Go dev team git-admin at x2go.org
Wed Jan 8 15:28:51 CET 2014


The branch, build-baikal has been updated
       via  574848749ccb463a497b4d89b983151651c5c54f (commit)
      from  3db6c3936fd436a7f78cae846b8fa41c83c5ab29 (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/defaults.py |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/x2go/defaults.py b/x2go/defaults.py
index b6b5997..cc5bde9 100644
--- a/x2go/defaults.py
+++ b/x2go/defaults.py
@@ -38,7 +38,12 @@ import utils
 X2GOCLIENT_OS = platform.system()
 
 import Xlib.display
-X_DISPLAY = Xlib.display.Display()
+
+# handle missing X displays on package build
+try:
+    X_DISPLAY = Xlib.display.Display()
+except Xlib.error.DisplayNameError:
+    X_DISPLAY = None
 
 LOCAL_HOME = os.path.expanduser('~')
 X2GO_SESSIONS_ROOTDIR = '.x2go'


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