_remove tag is broken, as it breaks when the 'tag' argument is not an instance
of a Tag object, but a simple string. (I think the Tag class is
overengineering, TBH, since all it ever does is look up or set the string value
anyway.) I believe the below fixes this issue:
def _remove_tag(self, tag):
"""Remove a user's tag from this object."""
if isinstance(tag, Tag):
tag = tag.get_name()
params = self._get_params()
params['tag'] = _unicode(tag)
self._request(self.ws_prefix + '.removeTag', False, params)
Original issue reported on code.google.com by thisfred@gmail.com on 18 Jan 2011 at 4:51
Original issue reported on code.google.com by
thisfred@gmail.com
on 18 Jan 2011 at 4:51