Both Archlinux and Fedora 29 have guidelines to point explicitly at /usr/bin/python2 where it expect python2. Also, do not use env. Fixes QubesOS/qubes-issues#4027
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
from qubesagent.xdg import launch
import sys
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# The Qubes OS Project, http://www.qubes-os.org
-#!/usr/bin/env python2
# vim: fileencoding=utf-8
# Send the command to the remote side, and then transfer stdin from local to
# remote and stdout from remote to local.
import xdg.IconTheme
import os
@@ -1,5 +1,3 @@
-
from gi.repository import Gio # pylint: disable=import-error
from gi.repository import GLib # pylint: disable=import-error