File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ Changelog
1111 ``ResourceAttrError `` when calling non-existent resource attribute, see `Issue #30
1212 <https://github.com/maxtepkeev/python-redmine/issues/30> `__ for details (thanks to
1313 `hsum <https://github.com/hsum >`__)
14+ - Fixed: `Issue #31 <https://github.com/maxtepkeev/python-redmine/issues/31 >`__ (Unlimited
15+ recursion was possible in some situations when on demand includes were used)
1416
15170.8.1 (2014-04-02)
1618++++++++++++++++++
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ def __getattr__(self, item):
143143
144144 # If item is an include and should be requested from Redmine, let's do it
145145 elif item in self ._includes and self ._attributes [item ] is None :
146- self ._attributes [item ] = self .refresh (include = item )._attributes [item ]
146+ self ._attributes [item ] = self .refresh (include = item )._attributes [item ] or []
147147 return getattr (self , item )
148148
149149 try :
You can’t perform that action at this time.
0 commit comments