Commit 124107b2 authored by Guido van Rossum's avatar Guido van Rossum

reverse sense of PyMac_Idle test

parent 5510dc23
...@@ -358,7 +358,7 @@ tcps_wait(self, args) ...@@ -358,7 +358,7 @@ tcps_wait(self, args)
if (!newgetargs(args, "")) if (!newgetargs(args, ""))
return NULL; return NULL;
while ( self->async_busy ) { while ( self->async_busy ) {
if ( !PyMac_Idle() ) { if ( PyMac_Idle() ) {
INCREF(None); INCREF(None);
return None; return None;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment