update traversal elemeent

- Bring it in line with previous changes

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2018-04-21 20:22:53 -04:00
parent 45091ac745
commit adca6966e4
@@ -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: