It is about really old API calls.

If you replace lines 355 - 359 with this code:

t = self.req.get_tag(tag)
if t is None:
  pass # something bad has happened and it should be handled
tag_color = t.get_attribute('color')
if tag_color is None:
  tag_color = <default color>


That could should be equivalent. I haven't tested that code, writing that just top of my head.

Izidor

_______________________________________________
Mailing list: https://launchpad.net/~gtg-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~gtg-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to