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

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

Get the content queue from SDT.

Definition at line 199 of file dbusiface.py.

00199                                :
        """Get the content queue from SDT."""
        def process(data):
            """Enhance data format."""
            logger.info("Processing Content Queue items (%d)", len(data))
            all_items = []
            for d in data:
                logger.debug("    Content Queue data: %r", d)
                cq = QueueData(operation=d['operation'], path=d['path'],
                               node=d['node'], share=d['share'])
            return all_items

        logger.info("Getting content queue")
        d = self.sync_daemon_tool.waiting_content()
        return d

    def _parse_mq(self, data):

Generated by  Doxygen 1.6.0   Back to index