backend.Upload: switch to utils.SafeWriteFile
authorIustin Pop <iustin@google.com>
Fri, 22 Oct 2010 12:40:13 +0000 (14:40 +0200)
committerIustin Pop <iustin@google.com>
Fri, 22 Oct 2010 15:23:08 +0000 (17:23 +0200)
commit8f065ae2ce2ffd3758ead86ddd6426dfef4d5d8e
treee0638fed4c7dbae7d42c0c0fe6ba800ac5782972
parent4138d39f9964173249db1a4e9afe1d06846b8fc7
backend.Upload: switch to utils.SafeWriteFile

This allows serialization of updates to a given file, with respect to
other cooperating writers.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/backend.py