« Previous | Next » 

Revision 71714516

Parent 67fe61c4
Child 78f3bd30

Added by Michael Hanselmann about 16 years ago

Add more parameters to utils.WriteFile

- Make closing file optional: Required by ganeti-watcher to keep
file open after writing it. Changes return value of utils.WriteFile
if "close" parameter evaluates to True.
- Pre- and post-write functions: Can be used to lock files. This
will be used by ganeti-watcher to lock the temporary file before

Reviewed-by: iustinp


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences