INNER CODE UNIT · Python

dump_env

terraform-aws-modules/terraform-aws-lambda · package.py:86

def dump_env():
    if log.isEnabledFor(DUMP_ENV):
        log.debug("ENV: %s", json.dumps(dict(os.environ), indent=2))


################################################################################
# Backports


def shlex_join(split_command):
    """Return a shell-escaped string from *split_command*."""
    return " ".join(shlex.quote(arg) for arg in split_command)


################################################################################
# Common functions

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…