On 25-Aug-11 01:37, Christian Witts wrote:
Good catch, it should be `if child.exitstatus != None and
child.exitstatus == 0:`
It's better form to say
if child.exitstatus is not None
instead of comparing for equality to None with the != operator.
--
Steve Willoughby / [email protected]
"A ship in harbor is safe, but that is not what ships are built for."
PGP Fingerprint 4615 3CCE 0F29 AE6C 8FF4 CA01 73FE 997A 765D 696C
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor