comparison hgeditor @ 44972:9e5f598fd29b stable

py3: fix comparison between int and None If stop is None, the condition was always false on Python 2, as None compares smaller than ints. Therefore we make the condition false if stop is None.
author Manuel Jacob <me@manueljacob.de>
date Tue, 16 Jun 2020 14:38:50 +0200
parents 1aee2ab0f902
children
comparison
equal deleted inserted replaced
44971:423e20c78e6d 44972:9e5f598fd29b