Commit d2df5e66 authored by Fred Drake's avatar Fred Drake

Add comment about need to unset configuration variables that aren't

specifically set.
parent 0be0702c
...@@ -2,6 +2,13 @@ import os ...@@ -2,6 +2,13 @@ import os
# top-level key handlers # top-level key handlers
# XXX I suspect there are still problems here. In most cases, if the
# value is not set from the config file, or if the value is the
# default, the corresponding envvar is not unset, which is needed to
# ensure that the environment variables and the configuration values
# reflect a coherant configuration.
def _setenv(name, value): def _setenv(name, value):
if isinstance(value, str): if isinstance(value, str):
os.environ[name] = value os.environ[name] = value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment