daboide Commit
Revision 505
Date: 2006-03-23 12:13:45 -0800 (Thu, 23 Mar 2006)
Author: ed
Changed:
U trunk/Editor.py
Log:
Fixed a dead object error that came when closing the editor under Windows.
Diff:
Modified: trunk/Editor.py
===================================================================
--- trunk/Editor.py 2006-03-23 17:51:36 UTC (rev 504)
+++ trunk/Editor.py 2006-03-23 20:13:45 UTC (rev 505)
@@ -92,7 +92,7 @@
def outputUpdate(self):
- if not self.p is None:
+ if self and self.p:
#need a nonblocking way of getting stdout and stderr
self.outputText = self.outputText +
self.p.stdout.read() + self.p.stderr.read()
if not self.p.poll() is None:
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev