diff --git a/patsy/eval.py b/patsy/eval.py index 22edad7..67c84aa 100644 --- a/patsy/eval.py +++ b/patsy/eval.py @@ -465,7 +465,8 @@ def memorize_passes_needed(self, state, eval_env): state["transforms"] = {} env_namespace = eval_env.namespace - subset_names = [name for name in ast_names(self.code) if name in env_namespace] + subset_names = [name for name in ast_names(self.code) + if name in env_namespace] state["eval_env"] = eval_env.subset(subset_names) # example code: == "2 * center(x)"