vm/qubesvm: simplify 'None' kernel handling
This commit is contained in:
부모
ee442c754f
커밋
caa03a9279
@ -97,7 +97,7 @@ def _setter_name(self, prop, value):
|
||||
def _setter_kernel(self, prop, value):
|
||||
''' Helper for setting the domain kernel and running sanity checks on it.
|
||||
''' # pylint: disable=unused-argument
|
||||
if value is None or value == '':
|
||||
if not value:
|
||||
return ''
|
||||
value = str(value)
|
||||
if '/' in value:
|
||||
|
||||
불러오는 중...
Reference in New Issue
Block a user