INNER CODE UNIT · Python
putenv
jd/pifpaf · pifpaf/__main__.py:172
def putenv(key, value):
return os.putenv(env_prefix + "_" + key, value)
def expand_urls_var(url):
current_urls = os.getenv(global_urls_variable)
if current_urls:
return current_urls + ";" + url
return url
if command:
try:
driver.setUp()
except fixtures.MultipleExceptions as e:
_format_multiple_exceptions(e, debug)
sys.exit(1)
except Exception: # noqa: B902
LOG.error("Unable to start %s, "
"use --debug for more information",