rearange
This commit is contained in:
parent
50a5c57cee
commit
51b86c730d
@ -68,8 +68,8 @@ with Prepender(logfile) as f:
|
||||
# Must write individual lines in reverse order
|
||||
f.write_line(current_day+' - '+current_time+' - '+client_hostname)
|
||||
|
||||
# Or, use write_lines instead - that maintains order.
|
||||
# with Prepender(logfile) as f:
|
||||
# Or, use write_lines instead - that maintains order.
|
||||
# f.write_lines(
|
||||
# ['This will be line 1',
|
||||
# 'This will be line 2',
|
||||
|
@ -60,8 +60,8 @@ with Prepender(logfile) as f:
|
||||
# Must write individual lines in reverse order
|
||||
f.write_line(current_day+' - '+current_time)
|
||||
|
||||
# Or, use write_lines instead - that maintains order.
|
||||
# with Prepender(logfile) as f:
|
||||
# Or, use write_lines instead - that maintains order.
|
||||
# f.write_lines(
|
||||
# ['This will be line 1',
|
||||
# 'This will be line 2',
|
||||
|
Loading…
x
Reference in New Issue
Block a user