ai-se / Rahul

1 stars 0 forks source link

deadant2Edits: Something's missing in remember() #13

Closed rahlk closed 9 years ago

rahlk commented 9 years ago

The remember function refuses to work. Here's what I get:

TypeError: unsupported operand type(s) for +=: 'instance' and 'list'
rahlk commented 9 years ago

Error in m+=new, the model class had no iadd. Also, I think self.pop[ new[0].id ] = new; does the job anyway.

timm commented 9 years ago

which file/function is this?

rahlk commented 9 years ago

It's here https://github.com/ai-se/Rahul/blob/master/deadant2Edits.py#L313

rahlk commented 9 years ago

m+=new was replaced by m.tell(new)