File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ Changelog
11
11
``ResourceAttrError `` when calling non-existent resource attribute, see `Issue #30
12
12
<https://github.com/maxtepkeev/python-redmine/issues/30> `__ for details (thanks to
13
13
`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)
14
16
15
17
0.8.1 (2014-04-02)
16
18
++++++++++++++++++
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ def __getattr__(self, item):
143
143
144
144
# If item is an include and should be requested from Redmine, let's do it
145
145
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 []
147
147
return getattr (self , item )
148
148
149
149
try :
You can’t perform that action at this time.
0 commit comments