'getenv(name) -> int
Read an environment variable off the stack, and return its contents.
Arguments:
name(str): Name of the environment variable to read.
Returns:
:class:`str`: The contents of the environment variable.'

def getenv(self, name):

    if (name not in self.env):
        log.error(('Environment    variable    %r    not    set' % name))
    return self.string(self.env[name]).split('=', 1)[(-1)]
