intel/genxml: minor python style fix
Suggested-by: Dylan Baker <dylan@pnwbakers.com> Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
@@ -306,7 +306,7 @@ class Field(object):
|
||||
print(" %-36s %s%s;" % (type, self.name, dim))
|
||||
|
||||
prefix = ""
|
||||
if self.values and self.default == None:
|
||||
if self.values and self.default is None:
|
||||
if self.prefix:
|
||||
prefix = self.prefix + "_"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user