def enable_napp(cls, mgr):
        """Install one NApp using NAppManager object."""
        try:
            if not mgr.is_enabled():
                LOG.info('    Enabling...')
                mgr.enable()
            LOG.info('    Enabled.')
        except (FileNotFoundError, PermissionError) as exception:
            LOG.error('  %s', exception)
def enable_napp ( cls , mgr ) : try : if not mgr . is_enabled ( ) : LOG . info ( '    Enabling...' ) mgr . enable ( ) LOG . info ( '    Enabled.' ) except ( FileNotFoundError , PermissionError ) as exception : LOG . error ( '  %s' , exception )
Install one NApp using NAppManager object.