[X2go-Commits] python-x2go.git - master (branch) updated: 0.2.1.0-7-ga68e15b

X2Go dev team git-admin at x2go.org
Mon Dec 17 15:53:03 CET 2012


The branch, master has been updated
       via  a68e15b9694d2319af2881e7aefa5f24527e05a1 (commit)
      from  3622a7fdaa275265faded8dc826661f329286848 (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 a68e15b9694d2319af2881e7aefa5f24527e05a1
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Dec 17 15:53:08 2012 +0100

    follow-up for 3622a7fd: turn AttributeError into X2goControlSessionException

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

Summary of changes:
 x2go/cache.py |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/x2go/cache.py b/x2go/cache.py
index 232cd0b..f0063d7 100644
--- a/x2go/cache.py
+++ b/x2go/cache.py
@@ -157,7 +157,7 @@ class X2goListSessionsCache(object):
             if profile_name in self.x2go_listsessions_cache.keys():
                 del self.x2go_listsessions_cache[profile_name]
             self.protected = False
-            raise e
+            raise x2go_exceptions.X2goControlSessionException
         except x2go_exceptions.X2goTimeOutException:
             pass
 
@@ -178,7 +178,7 @@ class X2goListSessionsCache(object):
             if profile_name in self.x2go_listsessions_cache.keys():
                 del self.x2go_listsessions_cache[profile_name]
             self.protected = False
-            raise e
+            raise x2go_exceptions.X2goControlSessionException
         except x2go_exceptions.X2goTimeOutException:
             pass
 
@@ -198,7 +198,7 @@ class X2goListSessionsCache(object):
             if profile_name in self.x2go_listsessions_cache.keys():
                 del self.x2go_listsessions_cache[profile_name]
             self.protected = False
-            raise e
+            raise x2go_exceptions.X2goControlSessionException
 
     def list_sessions(self, session_uuid):
         """\


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