Make pylint very ♥

This commit is contained in:
Wojtek Porczyk 2017-05-30 15:06:05 +02:00
parent 42cbd9ff68
commit bbe757d0a7
2 changed files with 2 additions and 3 deletions

View File

@ -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):

View File

@ -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.