Merge branch 'master' into develop

This commit is contained in:
Lance Stout 2012-09-01 13:57:24 -07:00
commit df9ac58d05

View file

@ -130,7 +130,10 @@ class RosterItem(ElementBase):
def get_groups(self):
groups = []
for group in self.xml.findall('{%s}group' % self.namespace):
groups.append(group.text)
if group.text:
groups.append(group.text)
else:
groups.append('')
return groups
def set_groups(self, values):