apply @zazard's fix to parent attribute lookup

This commit is contained in:
nitzmahone
2016-06-23 14:10:44 -07:00
parent c117b9d79b
commit ac04ffb9b1

View File

@@ -129,7 +129,7 @@ class Base:
value = None
value_found = False
if (value is None or not value_found) and hasattr(self, '_get_parent_attribute'):
if not value_found and hasattr(self, '_get_parent_attribute'):
value = self._get_parent_attribute(prop_name)
value_found = True