Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
always default create optional environment for deprecated builders
Builder implementation would originally always create an optional environment instance, which an extended builder's implementation could reference in their own `__init__` call. However, with the change [1] to support an `env` argument, there is no longer a guarantee that `self.env` will exist. This commit changes this to restore the creating of `self.env` if `env` if not passed in. [1]: 6ef22d2 Signed-off-by: James Knight <james.d.knight@live.com>
- Loading branch information