X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=dispatch.py;h=a2f23e92d5f126bc47162f18ce8f9d4d7f9d7645;hb=905c1283897c27188ef1984f302379befc9de9b5;hp=2d9d6ec0a3713f489362df3fdde0207be2c25c00;hpb=bd86a22d1a17fc33a32e80e48eec3b4338081a69;p=apitrace diff --git a/dispatch.py b/dispatch.py index 2d9d6ec..a2f23e9 100644 --- a/dispatch.py +++ b/dispatch.py @@ -110,7 +110,7 @@ class Dispatcher: def fail_function(self, function): if function.type is stdapi.Void or function.fail is not None: - print r' OS::DebugMessage("warning: ignoring call to unavailable function %s\n", __name);' + print r' os::log("warning: ignoring call to unavailable function %s\n", __name);' if function.type is stdapi.Void: assert function.fail is None print ' return;' @@ -118,7 +118,7 @@ class Dispatcher: assert function.fail is not None print ' return %s;' % function.fail else: - print r' OS::DebugMessage("error: unavailable function %s\n", __name);' - print r' OS::Abort();' + print r' os::log("error: unavailable function %s\n", __name);' + print r' os::abort();'