Fixed bad 2.6 syntax for remove()
Merge pull request #344 from mpaik/master

Fixed bad 2.6 syntax for remove()