[X2Go-Commits] [python-x2go] 01/02: x2go/session.py: Re-tested our interactive PyShell session launch with Python3. Works!
git-admin at x2go.org
git-admin at x2go.org
Thu Sep 6 18:34:05 CEST 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository python-x2go.
commit be5b42d2debe8a320809304b3d9243cf9ab213d6
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Thu Sep 6 18:31:35 2018 +0200
x2go/session.py: Re-tested our interactive PyShell session launch with Python3. Works!
---
x2go/session.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/x2go/session.py b/x2go/session.py
index 68465c2..99cafd9 100644
--- a/x2go/session.py
+++ b/x2go/session.py
@@ -28,13 +28,11 @@ class.
To launch a session manually from the Python interactive shell, perform these
simple steps::
- $ python
- Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
- [GCC 4.4.5] on linux2
+ Python 3.5.3 (default, Jan 19 2017, 14:11:04)
+ [GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import x2go
>>> import gevent
- Xlib.protocol.request.QueryExtension
>>> s = x2go.session.X2GoSession()
>>> s.set_server('<my.x2go.server>')
>>> s.set_port(<ssh-port>)
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
More information about the x2go-commits
mailing list