Skip to content

Commit 8fb4422

Browse files
committed
[base] Use prop 'values' instead of 'value'
1 parent 3986581 commit 8fb4422

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

odml/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ def itervalues(self, max_depth=None, filter_func=lambda x: True):
357357
:type filter_func: function
358358
"""
359359
for prop in [p for p in self.iterproperties(max_depth=max_depth)]:
360-
if filter_func(prop.value):
361-
yield prop.value
360+
if filter_func(prop.values):
361+
yield prop.values
362362

363363
def contains(self, obj):
364364
"""

0 commit comments

Comments
 (0)