From e55b6462dec0a078ec8a9420db8a2fe7690354be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B0=D0=BC=D0=BE=D1=83=D0=BA=D0=B8=D0=BD=20=D0=90?= =?UTF-8?q?=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?= Date: Wed, 17 Nov 2010 17:21:43 +0300 Subject: [PATCH] Removed os.truncate and os.seek from iniParser. --- pym/cl_template.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pym/cl_template.py b/pym/cl_template.py index 016e9e7..7213b00 100644 --- a/pym/cl_template.py +++ b/pym/cl_template.py @@ -4999,8 +4999,6 @@ class iniParser(_error, templateFormat): self.setError(_("Unable to open file") + ": " + self.iniFile) return False fcntl.flock(FD.fileno(), fcntl.LOCK_EX) - FD.truncate(0) - FD.seek(0) FD.write(txtConfig) FD.close() return True