This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository pyhoca-gui. from 2e6f218 syntax fix (2) new 8c9894f Windows: fix log-file-with-PID-in-name creation The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: pyhoca/wxgui/mswin_logging.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository pyhoca-gui. commit 8c9894f49e68b7188d98f252a294af034415a2b1 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Apr 16 09:52:58 2014 +0200 Windows: fix log-file-with-PID-in-name creation --- pyhoca/wxgui/mswin_logging.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyhoca/wxgui/mswin_logging.py b/pyhoca/wxgui/mswin_logging.py index 1034876..2961244 100644 --- a/pyhoca/wxgui/mswin_logging.py +++ b/pyhoca/wxgui/mswin_logging.py @@ -32,9 +32,9 @@ def setup_mswinlog(PROG_NAME): def __init__(self, filemode='a'): self._filemode = filemode if self._filemode == "w+": - for _file in os.listdir(os.dirname(self._fname)): + for _file in os.listdir(os.path.dirname(self._fname)): try: - os.remove(_file) + os.remove(os.path.join(os.path.dirname(self._fname), _file)) except WindowsError: pass -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git