Logo Search packages:      
Sourcecode: magicicada version File versions  Download package

def magicicada::dbusiface::DBusInterface::is_sd_started (   self  ) 

Find out if SD is active in the system.

Definition at line 321 of file dbusiface.py.

00321                            :
        """Find out if SD is active in the system."""
        try:
            self._bus.get_name_owner('com.ubuntuone.SyncDaemon')
        except dbus.exceptions.DBusException, err:
            if err.get_dbus_name() != \
                                'org.freedesktop.DBus.Error.NameHasNoOwner':
                raise
            started = False
        else:
            started = True
        logger.info("Checking if SD is started: %s", started)
        return started

    def _process_share_info(self, data):


Generated by  Doxygen 1.6.0   Back to index