> def __str__(self):
>      output = '%s:%s' % (self.expert_id, self.name)
>      output += '\nKnown topics: %s' % (', '.join(str(self.topics)))

You're turning your list into a string -- try this:
', '.join([str(x) for x in self.topics])
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to