From c0ac20f7d8cb9c0abca9505828165fa0750e9ee3 Mon Sep 17 00:00:00 2001 From: Oz N Tiram Date: Mon, 8 Aug 2022 23:07:01 +0200 Subject: [PATCH] Replace call to project.s.initialize --- pipenv/core.py | 2 +- pipenv/project.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pipenv/core.py b/pipenv/core.py index 7583e396eb..f0a62fd30a 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -146,7 +146,7 @@ def load_dot_env(project, as_dict=False, quiet=False): err=True, ) dotenv.load_dotenv(dotenv_file, override=True) - project.s.initialize() + project.s() def cleanup_virtualenv(project, bare=True): diff --git a/pipenv/project.py b/pipenv/project.py index b219907fb4..65add78288 100644 --- a/pipenv/project.py +++ b/pipenv/project.py @@ -122,7 +122,7 @@ def __init__(self, python_version=None, chdir=True): self._environment = None self._build_system = {"requires": ["setuptools", "wheel"]} self.python_version = python_version - self.s = Setting() + self.s = Setting if self.s.PIPENV_TEST_INDEX: self.default_source = { "url": self.s.PIPENV_TEST_INDEX,