<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_env_default(self, variable, default):
 """ Fetch environment variables, returning a default if not found """

        if variable in os.environ:
            env_var = os.environ[variable]
        else:
            env_var = default
        return env_var