Remove oneline= parameter from utils.ReadFile
authorGuido Trotter <ultrotter@google.com>
Tue, 11 May 2010 15:32:03 +0000 (16:32 +0100)
committerGuido Trotter <ultrotter@google.com>
Wed, 12 May 2010 11:01:32 +0000 (12:01 +0100)
commit582ed043d3e7594ae59340673a6bc851c850c12b
tree988a1c76c08b73fa8f643ab2078e1b44351ddb8f
parenta425810f5fb42a8f1407b2bd0ed4578f0a07e025
Remove oneline= parameter from utils.ReadFile

This partially reverts commit b774bb106cc28d008e790ad2666eb64c76866fa0.
Unittests unrelated to that particular functionality but introduced in
that commit are left untouched. Since the temporary directory is now
only used to check for a non-existing file, it is removed as well, and
a convenient very-very-unlikely-to-exist file is used instead.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/utils.py
test/ganeti.utils_unittest.py