def disable_napp(mgr):
        """Disable a NApp."""
        if mgr.is_enabled():
            LOG.info('  Disabling...')
            mgr.disable()
            LOG.info('  Disabled.')
        else:
            LOG.error("  NApp isn't enabled.")
def disable_napp ( mgr ) : if mgr . is_enabled ( ) : LOG . info ( '  Disabling...' ) mgr . disable ( ) LOG . info ( '  Disabled.' ) else : LOG . error ( "  NApp isn't enabled." )
Disable a NApp.