summaryrefslogtreecommitdiff
path: root/kvmd/apps
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-10-24 02:45:07 +0300
committerDevaev Maxim <[email protected]>2019-10-24 02:45:07 +0300
commitc124e63d6d6cdd07b6d0fa4439fed878ed164fbb (patch)
treebf52d2aeba69e499d85617212d6aadec57e96a14 /kvmd/apps
parent096064cfbc2428a7e276ff5b5c09ecdd0badbb35 (diff)
refactoring
Diffstat (limited to 'kvmd/apps')
-rw-r--r--kvmd/apps/__init__.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index 57bd7eb9..0906c016 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -258,17 +258,17 @@ def _get_config_scheme() -> Dict:
"serial": Option("CAFEBABE"),
"gadget": Option("kvmd", type=valid_otg_gadget),
- "udc": Option("", type=(lambda arg: str(arg).strip())),
- "init_delay": Option(3.0, type=valid_float_f01),
+ "udc": Option("", type=(lambda arg: str(arg).strip())),
+ "init_delay": Option(3.0, type=valid_float_f01),
"msd": {
"user": Option("kvmd", type=valid_user),
"default": {
"stall": Option(False, type=valid_bool),
- "cdrom": Option(True, type=valid_bool),
+ "cdrom": Option(True, type=valid_bool),
"rw": Option(False, type=valid_bool),
- "removable": Option(True, type=valid_bool),
- "fua": Option(True, type=valid_bool),
+ "removable": Option(True, type=valid_bool),
+ "fua": Option(True, type=valid_bool),
},
},
@@ -278,13 +278,13 @@ def _get_config_scheme() -> Dict:
"drives": {
"enabled": Option(False, type=valid_bool),
- "count": Option(1, type=(lambda arg: valid_number(arg, min=1))),
+ "count": Option(1, type=(lambda arg: valid_number(arg, min=1))),
"default": {
"stall": Option(False, type=valid_bool),
"cdrom": Option(False, type=valid_bool),
- "rw": Option(True, type=valid_bool),
- "removable": Option(True, type=valid_bool),
- "fua": Option(True, type=valid_bool),
+ "rw": Option(True, type=valid_bool),
+ "removable": Option(True, type=valid_bool),
+ "fua": Option(True, type=valid_bool),
},
},
},