The branch, master has been updated via f37c235acd7491deb742e38f469c2461f9ec8b52 (commit) from e34ee331758845c3c09e251e96c78bd8451f3a71 (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 f37c235acd7491deb742e38f469c2461f9ec8b52 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue Apr 17 15:33:59 2012 +0200 Make sure the log file on Windows does not grow limitlessly. ----------------------------------------------------------------------- Summary of changes: debian/changelog | 1 + pyhoca-gui | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) The diff of changes is: diff --git a/debian/changelog b/debian/changelog index 1ff9341..0e297b8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -110,6 +110,7 @@ pyhoca-gui (0.1.2.0-0~x2go1) UNRELEASED; urgency=low - When packaging Windows binary with py2exe, use nxproxy-3.5.0.12. - When packaging Windows binary with py2exe, use VcXsrv-1.12.0.1. - Fix missing declaration of notificationmessage_NotifierPopup.timeout. + - Make sure the log file on Windows does not grow limitlessly. * Depend on Python X2Go 0.1.2.0. * Install GNOME icons via dh_links. * Install X2Go icons with explicit install paths. diff --git a/pyhoca-gui b/pyhoca-gui index c62464c..901fe24 100755 --- a/pyhoca-gui +++ b/pyhoca-gui @@ -35,6 +35,8 @@ if hasattr(sys, 'frozen') and sys.frozen in ("windows_exe", "console_exe"): def __init__(self, filemode='a'): self._filemode = filemode + if os.path.isfile(self._fname) and self._filemode == "w+": + os.remove(self._fname) def write(self, text, **kwargs): if self._file is None: 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)).