(self)
return xmode
Get execution mode
Get execution mode
Get execution mode
def get_mode(self):
        """Get execution mode"""
        if self.force_mode:
            return self.force_mode
        futil_xm = FileUtil(self.container_execmode)
        xmode = futil_xm.getdata('r').strip()
        if not xmode:
            xmode = Config.conf['default_execution_mode']
        return xmode
def get_mode ( self ) : if self . force_mode : return self . force_mode futil_xm = FileUtil ( self . container_execmode ) xmode = futil_xm . getdata ( 'r' ) . strip ( ) if not xmode : xmode = Config . conf [ 'default_execution_mode' ] return xmode