Open GoogleCodeExporter opened 9 years ago
Mark Mc Mahon added a comment - 03/Apr/07 08:04 AM
Hi,
Sorry for the delay in looking into this. I just confirmed that
Menu().GetProperties() returns a list - this is the bug. all GetProperties()
methods should return dicts.
At the moment Menu().GetProperties() returns a list of dicts, each of these
dicts is the GetProperties for a particular Menu Item.
At least I should make it consistent (even if I have no other items to add
properties) e.g.
def GetProperties():
props = {}
props['Items'] = []
for item in self.Items():
props['Items'].append(item)
return props
Until I actually make this change will leave the bug open.
Remaining tasks are to verify that this change will not break anything else,
and that there are no other properties I should be adding.
Thanks for the report,
Mark
Original comment by mtnBikin...@gmail.com
on 26 Aug 2010 at 2:25
Original issue reported on code.google.com by
mtnBikin...@gmail.com
on 26 Aug 2010 at 2:24