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__(
282282
283283 # Open the file and save the handle to self.stream
284284 super ().__init__ (self ._LogFileName , mode = self ._WriteMode )
285- # TODO: What do we do if the log file already exsists?
286285
287286 def doRollover (self ) -> None :
288287 """Roll over the log files. This should not need to be called directly"""
@@ -316,8 +315,6 @@ def doRollover(self) -> None:
316315
317316 def GetLogSize (self ) -> int :
318317 """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.
321318 try :
322319 self .stream .flush () # We need to call this or the file size is always zero.
323320 LogFileSize = os .stat (self ._LogFileName )[6 ]
You can’t perform that action at this time.
0 commit comments