blob: 316cbeba3859f02c4f1a9de439a3e269cb430453 [file] [log] [blame]
#!/usr/bin/env python
if __name__ == "__main__":
from tools.wpt import wpt
from sys import version_info, argv
args, extra = wpt.parse_args(argv[1:])
if args.py3 and version_info.major < 3:
from subprocess import call
call(['python3', argv[0]] + [args.command] + extra)
else:
wpt.main()