##// END OF EJS Templates
osutil: avoid accidentally destroying the True object in isgui (issue2937)...
Steve Streeting -
r15094:258eee41 stable
parent child Browse files
Show More
@@ -523,9 +523,9 static PyObject *isgui(PyObject *self)
523
523
524 if (dict != NULL) {
524 if (dict != NULL) {
525 CFRelease(dict);
525 CFRelease(dict);
526 return Py_True;
526 Py_RETURN_TRUE;
527 } else {
527 } else {
528 return Py_False;
528 Py_RETURN_FALSE;
529 }
529 }
530 }
530 }
531 #endif
531 #endif
General Comments 0
You need to be logged in to leave comments. Login now