mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
fix toml table construction
This commit is contained in:
+1
-1
@@ -790,7 +790,7 @@ class Project(object):
|
||||
except Exception:
|
||||
document = tomlkit.document()
|
||||
for section in ("packages", "dev-packages"):
|
||||
document[section] = tomlkit.container.Table()
|
||||
document[section] = tomlkit.table()
|
||||
# Convert things to inline tables — fancy :)
|
||||
for package in data.get(section, {}):
|
||||
if hasattr(data[section][package], "keys"):
|
||||
|
||||
Reference in New Issue
Block a user