X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/8318347602085438ff700b9c1d6b83f351deccd7..ac8a325857c260750e651281ef379d108db9ff17:/philo/utils/entities.py?ds=sidebyside diff --git a/philo/utils/entities.py b/philo/utils/entities.py index b911451..05e41fc 100644 --- a/philo/utils/entities.py +++ b/philo/utils/entities.py @@ -117,6 +117,7 @@ class LazyAttributeMapperMixin(object): return self.get_attributes().get(key=key) def _add_to_cache(self, key): + from philo.models.base import Attribute try: attr = self._raw_get_attribute(key) except Attribute.DoesNotExist: