Removed os.truncate and os.seek from iniParser.

develop
Самоукин Алексей 14 years ago
parent 3f70f3c731
commit e55b6462de

@ -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

Loading…
Cancel
Save