mirror of https://github.com/xemu-project/xemu.git
scripts/qom-fuse: apply isort rules
Hint: you can use symlinks to create qom_fuse.py in python/qemu/qmp/ and point to scripts/qom-fuse to apply the standard linting rules to this script. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20210603003719.1321369-8-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
908ff4b29f
commit
c6b7eae9b6
|
@ -13,14 +13,20 @@
|
||||||
# the COPYING file in the top-level directory.
|
# the COPYING file in the top-level directory.
|
||||||
##
|
##
|
||||||
|
|
||||||
import fuse, stat
|
|
||||||
from fuse import FUSE, FuseOSError, Operations
|
|
||||||
import os, posix, sys
|
|
||||||
from errno import *
|
from errno import *
|
||||||
|
import os
|
||||||
|
import posix
|
||||||
|
import stat
|
||||||
|
import sys
|
||||||
|
|
||||||
|
import fuse
|
||||||
|
from fuse import FUSE, FuseOSError, Operations
|
||||||
|
|
||||||
|
|
||||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
|
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
|
||||||
from qemu.qmp import QEMUMonitorProtocol
|
from qemu.qmp import QEMUMonitorProtocol
|
||||||
|
|
||||||
|
|
||||||
fuse.fuse_python_api = (0, 2)
|
fuse.fuse_python_api = (0, 2)
|
||||||
|
|
||||||
class QOMFS(Operations):
|
class QOMFS(Operations):
|
||||||
|
|
Loading…
Reference in New Issue