Port to Python 3 and update shebangs in headers
@bugskerrickstaleycom
Submitted by b'Kerrick Staley' Assigned to b'Kerrick Staley' @bugskerrickstaleycom
Description
Several Python scripts in PiTiVi start with
#!/usr/bin/env python
or
#!/usr/bin/python
Instead,
#!/usr/bin/env python2
should be used so the scripts will work on systems where "python" is Python 3.
You can find all files with this problem by running
grep -ER '^#!/usr/bin/' .
in the PiTiVi git directory.
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=690917