[X2Go-Commits] python-x2go.git - twofactorauth (branch) updated: 0.1.1.4-239-g1908ff8

X2Go dev team git-admin at x2go.org
Sat Sep 14 15:57:30 CEST 2013


The branch, twofactorauth has been updated
       via  1908ff8185d9faba7bd162455439f67d4b81a77a (commit)
      from  5165769cfce78c0c9a0c47c842ad97322019b40f (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:
 debian/changelog |    1 +
 x2go/session.py  |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index c2ef1dd..3b096a6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -126,6 +126,7 @@ python-x2go (0.1.2.0-0~x2go1) UNRELEASED; urgency=low
     - Fix control session failure notifications. Show them immediately after
       the connection broke.
     - Allow custom commands to be desktop sessions.
+    - X2goSession instances cannot raise X2goClientExceptions.
   * Depend on python-xlib.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Sat, 28 Sep 2012 01:44:21 +0100
diff --git a/x2go/session.py b/x2go/session.py
index e22014d..35c55ab 100644
--- a/x2go/session.py
+++ b/x2go/session.py
@@ -1660,7 +1660,7 @@ class X2goSession(object):
                     return True
 
             else:
-                raise x2go_exceptions.X2goClientException('cannot suspend session')
+                raise x2go_exceptions.X2goSessionException('cannot suspend session')
 
         else:
             self._X2goSession__disconnect()
@@ -1703,7 +1703,7 @@ class X2goSession(object):
                     self.session_cleanup()
                     return True
             else:
-                raise x2go_exceptions.X2goClientException('cannot terminate session')
+                raise x2go_exceptions.X2goSessionException('cannot terminate session')
 
         else:
             self._X2goSession__disconnect()


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