def environ_get_prefix(environ): for name in _all_prefix_variables: if name in environ: return environ.get(name) return None