]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
html.py must run with either Python 2 or 3 to support COPR builds
authorDimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Fri, 4 Feb 2022 16:26:52 +0000 (17:26 +0100)
committerDaniel Lenski <dlenski@gmail.com>
Thu, 17 Feb 2022 18:35:32 +0000 (10:35 -0800)
commit808359b0ee1c4975f85074664a485ac9c599eb0b
treee0335610c9394b34e97a04925156836c7a2dc07a
parentc58a9ecb70a1bf46c071703578715c7022dfb56b
html.py must run with either Python 2 or 3 to support COPR builds

The script starts with `#!/usr/bin/env python3` but COPR builds run it as
`/usr/bin/python2 "./html.py"`. In the long term we should phase out Python
2 and make sure Python 3 is used everywhere.  In the short term, let's
repair COPR builds first, then plan the Python 2 to 3 transition.

This reverts e83b646f.

Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Signed-off-by: Daniel Lenski <dlenski@gmail.com>
www/html.py