lightningrod.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:iotronic-lightning-rod 作者: openstack 项目源码 文件源码
def start(self):
        LOG.info(" - starting Lightning-rod WAMP server...")
        reactor.run()

        """
        # TEMPORARY ------------------------------------------------------
        from subprocess import call
        LOG.debug("Unmounting...")

        try:
            mountPoint = "/opt/BBB"
            # errorCode = self.libc.umount(mountPoint, None)
            errorCode = call(["umount", "-l", mountPoint])

            LOG.debug("Unmount " + mountPoint + " result: " + str(errorCode))

        except Exception as msg:
            result = "Unmounting error:", msg
            LOG.debug(result)
        # ------------------------------------------------------------------
        """
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号