Fix feed.items.append since pep8

The underscore naming convention was not yet applied in that function
master
pictuga 2014-06-22 20:13:36 +02:00
parent ee3b2590d0
commit d877e856d3
1 changed files with 2 additions and 2 deletions

View File

@ -273,8 +273,8 @@ class FeedList(object):
return new
for key in self.childClass.__dict__:
if key[:3] == 'set':
attr = key[3:].lower()
if key.startswith('set_'):
attr = key[4:]
if hasattr(cousin, attr):
setattr(new, attr, getattr(cousin, attr))
elif attr in cousin: