From 1324f9b1e4d57c5ab50bc264507f7adc3207eb99 Mon Sep 17 00:00:00 2001 From: Stephen Burrows Date: Tue, 17 May 2011 15:34:12 -0400 Subject: [PATCH] Added missing Attribute import to philo.utils.entities. --- philo/utils/entities.py | 1 + 1 file changed, 1 insertion(+) 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: -- 2.20.1