[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.2.0.3-4-gb616291
X2Go dev team
git-admin at x2go.org
Tue Aug 27 13:22:29 CEST 2013
The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
via b616291e7f313c2426d7dcc3000c4b0d52cbca25 (commit)
from aaff52443b889ef8a0f1b92b384a13cca29f0688 (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 | 2 ++
pyhoca-gui | 10 ++++++----
2 files changed, 8 insertions(+), 4 deletions(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index cb05f07..43843dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ pyhoca-gui (0.2.0.4-0~x2go1) UNRELEASED; urgency=low
* New upstream version (0.2.0.4):
- Add namespace pyhoca to setup.py.
+ - Avoid Python exception: UnboundLocalError: local variable
+ 'thisPyHocaGUI' referenced before assignment
* Update packaging files from Debian package.
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Wed, 15 Aug 2012 15:17:16 +0200
diff --git a/pyhoca-gui b/pyhoca-gui
index 1c387d4..0486314 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -363,11 +363,13 @@ def main():
thisPyHocaGUI = PyHocaGUI(args, logger, liblogger, appname=PROG_NAME, version=VERSION)
thisPyHocaGUI.MainLoop()
except KeyboardInterrupt:
- thisPyHocaGUI.WakeUpIdle()
- thisPyHocaGUI.ExitMainLoop()
+ if thisPyHocaGUI is not None:
+ thisPyHocaGUI.WakeUpIdle()
+ thisPyHocaGUI.ExitMainLoop()
except SystemExit:
- thisPyHocaGUI.WakeUpIdle()
- thisPyHocaGUI.ExitMainLoop()
+ if thisPyHocaGUI is not None:
+ thisPyHocaGUI.WakeUpIdle()
+ thisPyHocaGUI.ExitMainLoop()
if __name__ == '__main__':
main()
hooks/post-receive
--
pyhoca-gui.git (Python X2Go Client (wxPython GUI))
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 "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).
More information about the x2go-commits
mailing list