Changeset 29d5f7c for fedd/federation/topdl.py
- Timestamp:
- Nov 18, 2011 6:43:19 PM (12 years ago)
- Branches:
- compt_changes, info-ops, master
- Children:
- 80b1e82
- Parents:
- 2ac64d1a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/topdl.py
r2ac64d1a r29d5f7c 168 168 for i in self.importer],'') 169 169 if self.param: 170 rv += join( '<param>%s</param>' % p.to_xml() \170 rv += join(['<param>%s</param>' % p.to_xml() \ 171 171 for p in self.param], '') 172 172 if self.description is not None: … … 206 206 localname = [ ln for ln in self.localname], 207 207 status = self.status, 208 service = [ s.clone() for s in self.service] 209 operation=[ op for op in operation])208 service = [ s.clone() for s in self.service], 209 operation=[ op for op in self.operation]) 210 210 211 211 def to_dict(self): … … 238 238 for a in self.attribute], "") 239 239 if self.localname: 240 rv += join( '<localname>%s</localname>' % ln \240 rv += join(['<localname>%s</localname>' % ln \ 241 241 for ln in self.localname], '') 242 242 if self.status is not None: … … 489 489 interface=[x.clone() for x in self.interface], 490 490 attribute=[x.clone() for x in self.attribute], 491 localname =[ ln for forln in self.localname],491 localname =[ ln for ln in self.localname], 492 492 status = self.status, 493 493 service = [s.clone() for s in self.service], … … 539 539 for a in self.attribute], "") 540 540 if self.localname: 541 rv += join( '<localname>%s</localname>' % ln \541 rv += join(['<localname>%s</localname>' % ln \ 542 542 for ln in self.localname], '') 543 543 if self.status is not None: … … 607 607 for a in self.attribute], "") 608 608 if self.localname: 609 rv += join( '<localname>%s</localname>' % ln \609 rv += join(['<localname>%s</localname>' % ln \ 610 610 for ln in self.localname], '') 611 611 if self.status is not None:
Note: See TracChangeset
for help on using the changeset viewer.