Package: python-x2go Severity: important Version: 0.5.0.2-2
Patch file 0001_catch-connection-exception-during-session-startup.patch introduces two Python exception flaws.
I fixed them later upstream, but only now remember to provide them for the Debian package of Python X2Go, as well.
Mike--- a/debian/patches/0001_catch-connection-exception-during-session-startup.patch +++ b/debian/patches/0001_catch-connection-exception-during-session-startup.patch
@@ -17,7 +17,7 @@ index 22760e4..b0e1d84 100644- self.has_terminal_session() and self.terminal_session.run_command(env=self.session_environment)
+ try:+ self.has_terminal_session() and self.terminal_session.run_command(env=self.session_environment)
-+ except x2go_exceptions.X2GoControlSessionException: ++ except x2go_exceptions.X2GoControlSessionException, e:+ self.logger('%s' % str(e), loglevel=log.loglevel_ERROR)
+ self.HOOK_on_control_session_death() + self._X2GoSession__disconnect() @@ -32,7 +32,7 @@ index 22760e4..b0e1d84 100644- self.terminal_session.run_command(env=self.session_environment)
+ try:+ self.terminal_session.run_command(env=self.session_environment)
-+ except x2go_exceptions.X2GoControlSessionException:
++ except x2go_exceptions.X2GoControlSessionException, e:
+ self.logger('%s' % str(e), loglevel=log.loglevel_ERROR)
+ self.HOOK_on_control_session_death()
+ self._X2GoSession__disconnect()
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31
mail: [email protected], http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
pgp45x0wHjMEf.pgp
Description: Digitale PGP-Signatur

