This repository has been archived on 2020-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
|
"""Update config.env filter."""
|
|
|
|
|
|
def filter_update_env(config, env):
|
|
for key, val in env:
|
|
config["env"][key] = val
|
|
return config
|
|
|
|
|
|
class FilterModule(object):
|
|
def filters(self):
|
|
return {"update_env": filter_update_env}
|