Changeset fe6e0be for fedd/deter
- Timestamp:
- Feb 29, 2012 2:03:09 PM (13 years ago)
- Branches:
- compt_changes, master
- Children:
- a11eda5
- Parents:
- a69de97 (diff), 3b1c6da (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/deter/topdl.py
ra69de97 rfe6e0be 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.