1 2 3 4 5
# coding: utf-8 def extend_env_var(env, name, value, sep=":"): return sep.join(filter(None, [env.get(name), value]))