mirror of
https://github.com/frej/fast-export.git
synced 2026-02-26 06:20:42 +01:00
Trivial simplification of wr
No need to issue two write commands. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
committed by
Frej Drejhammar
parent
c3cbf1e04d
commit
bbab981130
@@ -51,8 +51,7 @@ def wr_no_nl(msg=b''):
|
||||
stdout_buffer.write(msg)
|
||||
|
||||
def wr(msg=b''):
|
||||
wr_no_nl(msg)
|
||||
stdout_buffer.write(b'\n')
|
||||
wr_no_nl(msg + b'\n')
|
||||
#map(lambda x: sys.stderr.write('\t[%s]\n' % x),msg.split('\n'))
|
||||
|
||||
def wr_data(data):
|
||||
|
||||
Reference in New Issue
Block a user