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

New release, fixes API break in previous release

üst f9ca367c
......@@ -9,6 +9,9 @@ Here are some examples for accessing COMAR:
# Localize strings
link.setLocale()
# Never use authentication agent (GUI)
link.useAgent(False)
# Get a list of packages that provide system.service method
packages = list(link.System.Service)
......
......@@ -9,7 +9,7 @@
# option) any later version. Please read the COPYING file.
#
__version__ = '2.4.2'
__version__ = '2.4.3'
import dbus
import locale
......@@ -143,7 +143,9 @@ class Link:
self.address = "tr.org.pardus.comar"
self.interface = "tr.org.pardus.comar"
self.socket = socket
self.use_agent = False
# Auto-enable agent, if X session present.
self.use_agent = ("DISPLAY" in os.environ)
if not socket:
self.bus = dbus.SystemBus()
......
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