mirror of https://github.com/python/cpython.git
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, ""))
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue