Logo Search packages:      
Sourcecode: ubuntuone-dev-tools version File versions  Download package

def ubuntuone::devtools::dbus_util::DBusRunner::_find_config_file (   self  )  [private]

Find the first appropriate dbus-session.conf to use.

Definition at line 44 of file dbus_util.py.

00044                                :
        """Find the first appropriate dbus-session.conf to use."""
        # In case we're running from within the source tree
        path = os.path.join(os.path.dirname(__file__), "..", "..",
                            "data", "dbus-session.conf")
        if os.path.exists(path):
            return path

        # Use the installed file in $pkgdatadir
        for i in load_data_paths("ubuntuone-dev-tools", "dbus-session.conf"):
            if os.path.exists(i):
                return i

    def startDBus(self):

Generated by  Doxygen 1.6.0   Back to index