mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
update traversal elemeent
- Bring it in line with previous changes Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user