diff options
author | Eric Engestrom <[email protected]> | 2018-08-21 15:20:40 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-08-21 15:30:55 +0100 |
commit | 81fe9bdf6d69b4bacf5adfb9f54fe304398fbf7b (patch) | |
tree | f545b02ea468a5292fd88f0409424e2d1a7f2c21 /src/intel/genxml | |
parent | 9e5e3a8ead5321a6abc0add8f6e59e50052f9698 (diff) |
intel/genxml: minor python style fix
Suggested-by: Dylan Baker <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel/genxml')
-rw-r--r-- | src/intel/genxml/gen_pack_header.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/genxml/gen_pack_header.py b/src/intel/genxml/gen_pack_header.py index 0bf838de8c6..9675b4b4d52 100644 --- a/src/intel/genxml/gen_pack_header.py +++ b/src/intel/genxml/gen_pack_header.py @@ -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 + "_" |