fix(kernel): the kernel facts' shape in a module of its own, and no try/except/pass (NetOrk/netork#2701)
models.py had grown past its recorded size with the live patches; KernelFactsDict moves to kernel_models, re-exported by models, and the record shrinks to what is left (1336). The root read of Canonical's status returns on a refusal instead of passing (bandit B110).
This commit is contained in:
1 parent
9d921c4ce8
commit
3f35d05a73
4 files changed
+42
-26
No files matched your search
@@ -31,7 +31,7 @@
|
||||
},
|
||||
"mypy_relaxed": [],
|
||||
"python_file_lines": {
|
||||
"napalm_device_types/models.py": 1353
|
||||
"napalm_device_types/models.py": 1336
|
||||
},
|
||||
"untyped_public": []
|
||||
}
|
||||
Reference in new issue
Block a user