Changeset 3b1c6da for fedd/deter
- Timestamp:
- Feb 29, 2012 11:26:52 AM (13 years ago)
- Branches:
- compt_changes, master
- Children:
- fe6e0be
- Parents:
- 25930db
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/deter/topdl.py
r25930db r3b1c6da 465 465 def to_xml(self): 466 466 if self.uuid: rv = "<uuid>%s</uuid>" % b64encode(self.uuid) 467 elif self.fedid: rv = "<fedid>%s</fedid>" % b64encode(self.fedid) 467 elif self.fedid: rv = "<fedid>%s</fedid>" % \ 468 b64encode(self.fedid.get_bits()) 468 469 elif self.uri: rv = "<uri>%s</uri>" % escape(self.uri) 469 470 elif self.localname: … … 671 672 def to_xml(self): 672 673 rv = "<id>%s</id><uri>%s</uri><type>%s</type>" % \ 673 ( id.to_xml(), escape(self.uri), escape(self.type))674 (self.id.to_xml(), escape(self.uri), escape(self.type)) 674 675 if self.interface: 675 676 rv += join(["<interface>%s</interface>" % i.to_xml()
Note: See TracChangeset
for help on using the changeset viewer.