git.ithinksw.org
/
philo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92e5503
)
Added missing Attribute import to philo.utils.entities.
author
Stephen Burrows
<stephen.r.burrows@gmail.com>
Tue, 17 May 2011 19:34:12 +0000
(15:34 -0400)
committer
Stephen Burrows
<stephen.r.burrows@gmail.com>
Tue, 17 May 2011 19:34:12 +0000
(15:34 -0400)
philo/utils/entities.py
patch
|
blob
|
history
diff --git
a/philo/utils/entities.py
b/philo/utils/entities.py
index
b911451
..
05e41fc
100644
(file)
--- 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: