mirror of https://github.com/python/cpython
reverse sense of PyMac_Idle test
This commit is contained in:
parent
5510dc23f9
commit
124107b2a4
|
@ -358,7 +358,7 @@ tcps_wait(self, args)
|
|||
if (!newgetargs(args, ""))
|
||||
return NULL;
|
||||
while ( self->async_busy ) {
|
||||
if ( !PyMac_Idle() ) {
|
||||
if ( PyMac_Idle() ) {
|
||||
INCREF(None);
|
||||
return None;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue