self.resultsFrame = None
# debug
self.resultsFrame = None
# debug
- self.chooseDirDialog(dir='/Users/pinbe/minwii_logs')
+ #self.chooseDirDialog(dir='/Users/pinbe/minwii_logs')
def configureStretching(self) :
top=self.winfo_toplevel()
def configureStretching(self) :
top=self.winfo_toplevel()
def _cleanupJunkFiles(self) :
files = []
def _cleanupJunkFiles(self) :
files = []
while self.logFiles :
f = self.logFiles.pop()
if not getsize(f) :
while self.logFiles :
f = self.logFiles.pop()
if not getsize(f) :
continue
else :
lfa = LogFileAnalyser(f)
if lfa.getLastEventTicks() is None :
continue
else :
lfa = LogFileAnalyser(f)
if lfa.getLastEventTicks() is None :
+ for f in junk :
+ os.remove(f)
+