blob: 8218d0f59e1c591fbd361de14c8a4981c6b1b1fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
diff --git a/pipenv/project.py b/pipenv/project.py
index 55251bc5f..9fd46f089 100644
--- a/pipenv/project.py
+++ b/pipenv/project.py
@@ -183,9 +183,9 @@ class Project:
"name": "pypi",
}
- default_sources_toml = f"[[source]]\n{toml.dumps(self.default_source)}"
+ default_sources_toml = f"[[source]]\n{tomlkit.dumps(self.default_source)}"
for pip_conf_index in pip_conf_indexes:
- default_sources_toml += f"\n\n[[source]]\n{toml.dumps(pip_conf_index)}"
+ default_sources_toml += f"\n\n[[source]]\n{tomlkit.dumps(pip_conf_index)}"
plette.pipfiles.DEFAULT_SOURCE_TOML = default_sources_toml
# Hack to skip this during pipenv run, or -r.
|