py3: stop injecting pycompat.hasattr into modules...
py3: stop injecting pycompat.hasattr into modules
I only found a single user of this pattern, probably because we
use util.hasattr everywhere.
Differential Revision:
https://phab.mercurial-scm.org/D7008