summaryrefslogtreecommitdiff
path: root/psutil/_psutil_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/_psutil_common.c')
-rw-r--r--psutil/_psutil_common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/psutil/_psutil_common.c b/psutil/_psutil_common.c
index 2bf4ad79..fae8d970 100644
--- a/psutil/_psutil_common.c
+++ b/psutil/_psutil_common.c
@@ -106,7 +106,6 @@ NoSuchProcess(const char *syscall) {
char msg[1024];
sprintf(msg, "assume no such process (originated from %s)", syscall);
- psutil_debug(msg);
exc = PyObject_CallFunction(PyExc_OSError, "(is)", ESRCH, msg);
PyErr_SetObject(PyExc_OSError, exc);
Py_XDECREF(exc);
@@ -124,7 +123,6 @@ AccessDenied(const char *syscall) {
char msg[1024];
sprintf(msg, "assume access denied (originated from %s)", syscall);
- psutil_debug(msg);
exc = PyObject_CallFunction(PyExc_OSError, "(is)", EACCES, msg);
PyErr_SetObject(PyExc_OSError, exc);
Py_XDECREF(exc);