warning fixes

This commit is contained in:
Fabien Castan 2020-07-16 11:04:43 +02:00
parent 82342a7f61
commit 91f53341bc
7 changed files with 9 additions and 14 deletions

View file

@ -547,7 +547,7 @@ class BaseNode(BaseObject):
def _buildCmdVars(self):
def _buildAttributeCmdVars(cmdVars, name, attr):
if attr.attributeDesc.group != None:
if attr.attributeDesc.group is not None:
# if there is a valid command line "group"
v = attr.getValueStr()
cmdVars[name] = '--{name} {value}'.format(name=name, value=v)