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

Ehem, method name must be different

üst 0fad819c
......@@ -129,7 +129,7 @@ class Call:
raise AttributeError, "Package name required for non-async calls."
def queryPolicyKit(self, action):
if not self.link.useAgent:
if not self.link.use_agent:
os.environ["POLKIT_AUTH_FORCE_TEXT"] = "1"
ret = subprocess.call(["/usr/bin/polkit-auth", "--obtain", action])
if ret == 0:
......@@ -143,7 +143,7 @@ class Link:
self.address = "tr.org.pardus.comar"
self.interface = "tr.org.pardus.comar"
self.socket = socket
self.useAgent = False
self.use_agent = False
if not socket:
self.bus = dbus.SystemBus()
......@@ -154,7 +154,7 @@ class Link:
self.address += "2"
def useAgent(self, agent=True):
self.useAgent = agent
self.use_agent = agent
def setLocale(self):
try:
......
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