branch | stable |
changeset 7480 | 97a1768bbbaa |
parent 7354 | f627ab500fda |
child 7481 | 23ae090fc6a4 |
--- a/sobjects/parsers.py Thu Jun 09 12:20:57 2011 +0200 +++ b/sobjects/parsers.py Thu Jun 09 12:27:35 2011 +0200 @@ -352,7 +352,7 @@ itemurl = item['cwuri'] + '?vid=xml' if add_relations: for rtype, role, _ in self.source.mapping.get(item['cwtype'], ()): - itemurl += '&relation=%s_%s' % (rtype, role) + itemurl += '&relation=%s-%s' % (rtype, role) item_rels = list(self.parse(itemurl)) assert len(item_rels) == 1 return item_rels[0]