diff --git a/qubes/ext/gui.py b/qubes/ext/gui.py index 2c284608..2ae31e90 100644 --- a/qubes/ext/gui.py +++ b/qubes/ext/gui.py @@ -21,13 +21,12 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -import os - import qubes.config import qubes.ext class GUI(qubes.ext.Extension): + # pylint: disable=too-few-public-methods # TODO put this somewhere... @staticmethod def send_gui_mode(vm): diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index f795c04a..1d30b77f 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -1123,7 +1123,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM): input = b'' return b''.join((command.rstrip('\n').encode('utf-8'), b'\n', input)) - def run(self, command, input=None, user=None, **kwargs): + def run(self, command, user=None, **kwargs): '''Run a shell command inside the domain using qrexec. This method is a coroutine.