Mercurial > hg-stable
diff tests/test-revert.t @ 50950:7a8ea1397816
check-code: drop the `safehasattr` rule
Since we no longer supports Python 2 we no longer needs to use a custom function
to compensate the short comings of the global `hasattr` function in it.
We cannot use the Python 3 `hasattr` function instead.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 08 Dec 2022 15:33:19 +0100 |
parents | 42d2b31cee0b |
children |