mtedit: Restore some Python 2.7 support

The platform_GesturesRegressionTest autotest transitively imports this
module. Since autotest still runs under Python 2.7, this module needs to
work with that.

BUG=chromium:1065510
TEST='test_that <DUT> platform_GesturesRegressionTest' no longer fails
     with 'ImportError: No module named http.server'

Change-Id: I5a2bdd5e3b5af7771c45821583ea661ac94c6b2e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/mttools/+/2214966
Reviewed-by: Harry Cutts <hcutts@chromium.org>
Tested-by: Anand Mistry <amistry@chromium.org>
Commit-Queue: Anand Mistry <amistry@chromium.org>
1 file changed