Package flumotion :: Package extern :: Package command :: Package command :: Module manholecmd :: Class FileWrapper
[hide private]

Class FileWrapper

source code

Minimal write-file-like object.

Writes are translated into addOutput calls on an object passed to __init__. Newlines are also converted from network to local style.

Instance Methods [hide private]
 
__init__(self, o) source code
 
flush(self) source code
 
write(self, data) source code
 
writelines(self, lines) source code
Class Variables [hide private]
  softspace = 0
  state = 'normal'