summaryrefslogtreecommitdiff
path: root/portato/plugins/dbus_init.py
blob: 653af31a483bbbeda5f56fd75dd3bf35c7c5d75e (plain)
1
2
3
4
5
6
7
8
9
10
try:
	from dbus.mainloop.glib import threads_init
except ImportError:
	threads_init = None

from portato.constants import USE_CATAPULT

def dbus_init (*args):
	if USE_CATAPULT and threads_init is not None:
		threads_init()
of own mq-moduleRené 'Necoro' Neumann3-13/+185 2009-08-15Use message queue instead of SHMRené 'Necoro' Neumann2-51/+26 2009-08-15Honor missing eix moduleRené 'Necoro' Neumann1-2/+7 2009-08-15Also allow --enable-eixRené 'Necoro' Neumann1-1/+1 2009-08-15Also allow --enable-eixRené 'Necoro' Neumann1-0/+3 2009-08-14Change config and changelogRené 'Necoro' Neumann2-1/+6 2009-08-14Allow to disable eix in setup.pyRené 'Necoro' Neumann1-8/+17 2009-08-14Correct setup.pyRené 'Necoro' Neumann1-2/+17