* modules/jenkins/files/slave_scripts/subunit2html.py: Python subunit
ByteStreamToStreamResult takes an argument of non_subunit_name and not
non_subunit_input. Correct the argument name. Use argparse to parse the
command line arguments and add a new -2 options that specifies subunit
version 2 format logs should be read in. Otherwise read in version 1
subunit format.
This commit makes the second file name arg to subunit2html a required
argument and it is no longer optional. run-tox.sh already supplies both
file name arguments so this shouldn't break Jenkins.
Change-Id: I90804d4d12d77a544451c1647a137dc4b3b38f17
Reviewed-on: https://review.openstack.org/26430
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins