summaryrefslogtreecommitdiff
path: root/python/setup.py
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2025-07-30 12:26:56 +0000
committerViacheslav <v.gletenko@vyos.io>2025-07-30 12:26:56 +0000
commit9724b301a0d44854ef7f334de5aedf727713bc52 (patch)
tree180cf0e273ecf2dd6e334bb86330e7ee7a3e33ec /python/setup.py
parenta551fa45573ef57858904773d4bcc99dbf553b19 (diff)
downloadvyos-1x-9724b301a0d44854ef7f334de5aedf727713bc52.tar.gz
vyos-1x-9724b301a0d44854ef7f334de5aedf727713bc52.zip
T7668: Fix image update due to None kernel options
If we do not have the system options kernel the update fails Change order for variables `k_cpu_opts` and `k_memory_opts` If we do not have kernel_options set empty dictionary as NoneType object has no attribue `get` ``` >>> kernel_options=None >>> kernel_options.get('cpu', {}) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'NoneType' object has no attribute 'get' >>> >>> >>> kernel_options={} >>> kernel_options.get('cpu', {}) {} >>> ```
Diffstat (limited to 'python/setup.py')
0 files changed, 0 insertions, 0 deletions