--- a/LPCBeremiz.py Fri Jun 04 14:58:03 2010 +0200
+++ b/LPCBeremiz.py Fri Jun 04 14:58:24 2010 +0200
@@ -1123,7 +1123,7 @@
# Command log for debug, for viewing from wxInspector
- cmdlogf=open("bmzcmdlog.txt","w")
+ #cmdlogf=open("bmzcmdlog.txt","w") class LPCBeremiz_Cmd(cmd.Cmd):
@@ -1411,13 +1411,16 @@
- cmdlogf.write(str((function,line))+'\n')
+ #cmdlogf.write(str((function,line))+'\n') func = getattr(self, function)
res = evaluator(func,*args)
- cmdlogf.write("--->"+str(res)+'\n')
+ #cmdlogf.write("--->"+str(res)+'\n') cmdlog.append((function,line,res))
if len(cmdlog) > 100: #prevent debug log to grow too much