[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.1.0.10-212-gf37c235
X2Go dev team
git-admin at x2go.org
Tue Aug 27 13:22:19 CEST 2013
The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d 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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 1 +
pyhoca-gui | 2 ++
2 files changed, 3 insertions(+)
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)).
More information about the x2go-commits
mailing list