This is an archive of the discontinued LLVM Phabricator instance.

[LNT] Remove useless import fallback
ClosedPublic

Authored by thopre on Oct 16 2019, 9:39 AM.

Details

Summary

json module is available since Python 2.6. Since LNT now requires Python
2.7 or later, the fallback for importing simplejson in case json is not
available is useless. Removing it also removes one of the warning from
mypy.