File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,6 @@ def __init__(
282
282
283
283
# Open the file and save the handle to self.stream
284
284
super ().__init__ (self ._LogFileName , mode = self ._WriteMode )
285
- # TODO: What do we do if the log file already exsists?
286
285
287
286
def doRollover (self ) -> None :
288
287
"""Roll over the log files. This should not need to be called directly"""
@@ -316,8 +315,6 @@ def doRollover(self) -> None:
316
315
317
316
def GetLogSize (self ) -> int :
318
317
"""Check the size of the log file."""
319
- # TODO: Is this needed? I am catching the case where the file does not exsist,
320
- # but I don't know if that is a realistic case anymore.
321
318
try :
322
319
self .stream .flush () # We need to call this or the file size is always zero.
323
320
LogFileSize = os .stat (self ._LogFileName )[6 ]
You can’t perform that action at this time.
0 commit comments