mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 23:17:17 +02:00
Remove print statements I had left in during debugging. Oops.
This commit is contained in:
parent
f150d8bae5
commit
6e2c10b008
1 changed files with 0 additions and 2 deletions
|
|
@ -159,12 +159,10 @@ class EvenniaLogFile(logfile.LogFile):
|
|||
|
||||
def rotate(self):
|
||||
append_tail = self.num_lines_to_append > 0
|
||||
print "append_tail is %s" % append_tail
|
||||
if not append_tail:
|
||||
logfile.LogFile.rotate(self)
|
||||
return
|
||||
lines = tail_log_file(self.path, 0, self.num_lines_to_append)
|
||||
print "lines is %s" % lines
|
||||
logfile.LogFile.rotate(self)
|
||||
for line in lines:
|
||||
self.write(line)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue