def disable_site(site_name):
 if is_site_enabled(site_name):
  run_as_root(('a2dissite %s' % _site_config_filename(site_name)))

def disable_site ( site_name ) : if is_site_enabled ( site_name ) : run_as_root ( ( 'a2dissite %s' % _site_config_filename ( site_name ) ) )
disable an apache site .