git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://github.com/melinath/philo
[philo.git]
/
philo
/
utils
/
entities.py
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):
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:
try:
attr = self._raw_get_attribute(key)
except Attribute.DoesNotExist: