def get_sandbox_virtualenv_path(pack):
 if (pack in SYSTEM_PACK_NAMES):
  virtualenv_path = None
 else:
  system_base_path = cfg.CONF.system.base_path
  virtualenv_path = os.path.join(system_base_path, 'virtualenvs', pack)
 return virtualenv_path

def get_sandbox_virtualenv_path ( pack ) : if ( pack in SYSTEM_PACK_NAMES ) : virtualenv_path = None else : system_base_path = cfg . CONF . system . base_path virtualenv_path = os . path . join ( system_base_path , 'virtualenvs' , pack ) return virtualenv_path
return a path to the virtual environment for the provided pack .