Make pylint very ♥
This commit is contained in:
parent
42cbd9ff68
commit
bbe757d0a7
@ -21,13 +21,12 @@
|
|||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
#
|
#
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
import qubes.config
|
import qubes.config
|
||||||
import qubes.ext
|
import qubes.ext
|
||||||
|
|
||||||
|
|
||||||
class GUI(qubes.ext.Extension):
|
class GUI(qubes.ext.Extension):
|
||||||
|
# pylint: disable=too-few-public-methods
|
||||||
# TODO put this somewhere...
|
# TODO put this somewhere...
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def send_gui_mode(vm):
|
def send_gui_mode(vm):
|
||||||
|
@ -1123,7 +1123,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
|
|||||||
input = b''
|
input = b''
|
||||||
return b''.join((command.rstrip('\n').encode('utf-8'), b'\n', input))
|
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.
|
'''Run a shell command inside the domain using qrexec.
|
||||||
|
|
||||||
This method is a coroutine.
|
This method is a coroutine.
|
||||||
|
Loading…
Reference in New Issue
Block a user