Kaydet (Commit) 77126721 authored tarafından Bahadır Kandemir's avatar Bahadır Kandemir

Remove debug code

üst 0c143c6f
......@@ -82,8 +82,6 @@ policy_check(const char *sender, const char *action, int *result)
PyTuple_SetItem(obj, 4, PyString_FromString("abc"));
PyObject *ret = bus_execute2(conn, "org.freedesktop.PolicyKit1", "/org/freedesktop/PolicyKit1/Authority", "org.freedesktop.PolicyKit1.Authority", "CheckAuthorization", obj, 25, "(sa{sv})sa{ss}us");
printf("DEB: %s\n", PyString_AsString(PyObject_Repr(obj)));
printf("DEB: %s\n", PyString_AsString(PyObject_Repr(ret)));
if (PyTuple_GetItem(ret, 0) == Py_True) {
*result = POLICY_YES;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment