mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-21 07:10:58 +00:00
6e463c3cb0
- Move patches to separate subdirectories - Refactor vendoring scripts Signed-off-by: Dan Ryan <dan@danryan.co>
14 lines
599 B
Diff
14 lines
599 B
Diff
diff --git a/pipenv/patched/prettytoml/elements/traversal/__init__.py b/pipenv/patched/prettytoml/elements/traversal/__init__.py
|
|
index 5b98045..c93506e 100644
|
|
--- a/pipenv/patched/prettytoml/elements/traversal/__init__.py
|
|
+++ b/pipenv/patched/prettytoml/elements/traversal/__init__.py
|
|
@@ -78,7 +78,7 @@ class TraversalMixin:
|
|
|
|
if following_comment == float('-inf'):
|
|
return following_newline
|
|
- if following_newline == float('inf'):
|
|
+ if following_newline == float('-inf'):
|
|
return following_comment
|
|
|
|
if following_newline < following_comment:
|