From bbe757d0a7baaba909bae94e72506b23f12b7c76 Mon Sep 17 00:00:00 2001 From: Wojtek Porczyk Date: Tue, 30 May 2017 15:06:05 +0200 Subject: [PATCH] =?UTF-8?q?Make=20pylint=20very=20=E2=99=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qubes/ext/gui.py | 3 +-- qubes/vm/qubesvm.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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.