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
 | 
					    # Must write individual lines in reverse order
 | 
				
			||||||
    f.write_line(current_day+' - '+current_time+' - '+client_hostname)
 | 
					    f.write_line(current_day+' - '+current_time+' - '+client_hostname)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Or, use write_lines instead - that maintains order.
 | 
				
			||||||
# with Prepender(logfile) as f:
 | 
					# with Prepender(logfile) as f:
 | 
				
			||||||
    # Or, use write_lines instead - that maintains order.
 | 
					 | 
				
			||||||
#    f.write_lines(
 | 
					#    f.write_lines(
 | 
				
			||||||
#        ['This will be line 1',
 | 
					#        ['This will be line 1',
 | 
				
			||||||
#         'This will be line 2',
 | 
					#         'This will be line 2',
 | 
				
			||||||
 | 
				
			|||||||
@ -60,8 +60,8 @@ with Prepender(logfile) as f:
 | 
				
			|||||||
    # Must write individual lines in reverse order
 | 
					    # Must write individual lines in reverse order
 | 
				
			||||||
    f.write_line(current_day+' - '+current_time)
 | 
					    f.write_line(current_day+' - '+current_time)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Or, use write_lines instead - that maintains order.
 | 
				
			||||||
# with Prepender(logfile) as f:
 | 
					# with Prepender(logfile) as f:
 | 
				
			||||||
    # Or, use write_lines instead - that maintains order.
 | 
					 | 
				
			||||||
#    f.write_lines(
 | 
					#    f.write_lines(
 | 
				
			||||||
#        ['This will be line 1',
 | 
					#        ['This will be line 1',
 | 
				
			||||||
#         'This will be line 2',
 | 
					#         'This will be line 2',
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user