Kaydet (Commit) 6e616ca1 authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

duzenlendi

üst 5b33d741
......@@ -80,12 +80,12 @@ message_execute(DBusMessage *msg, const char *app, const char *model, const char
int result;
if (policy_check(sender, action_id, &result) == 0) {
if (result != POLICY_YES) {
bus_reply_error(msg, "Comar.PolicyKit", action_id);
bus_reply_error(msg, "Scom.PolicyKit", action_id);
return;
}
}
else {
bus_reply_error(msg, "Comar.PolicyKit", "error");
bus_reply_error(msg, "Scom.PolicyKit", "error");
return;
}
}
......
#!/usr/bin/python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import scom
......@@ -7,7 +7,7 @@ import locale
import sys
import os
import piksemel
import ciksemel
def printUsage():
print("Usage: %s <command>" % sys.argv[0])
......@@ -27,7 +27,7 @@ def introspect(link, path="/"):
nodes = []
interfaces = {}
xml = piksemel.parseString(obj.Introspect(dbus_interface="org.freedesktop.DBus.Introspectable"))
xml = ciksemel.parseString(obj.Introspect(dbus_interface="org.freedesktop.DBus.Introspectable"))
for tag in xml.tags():
if tag.name() == "node":
nodes.append(tag.getAttribute("name"))
......
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