Skip to content

Commit 01c4a0d

Browse files
authored
JIRA WDT-524 - Check attributes location against None (#800)
1 parent c74e74e commit 01c4a0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/python/compare_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def _parse_change_path(self, path):
268268

269269
attribute_names = []
270270
attributes_location = self.aliases.get_model_section_attribute_location(path_tokens[0])
271-
if attributes_location:
271+
if attributes_location is not None:
272272
attribute_names = self.aliases.get_model_attribute_names(attributes_location)
273273

274274
if path_tokens[0] == KUBERNETES:

0 commit comments

Comments
 (0)