Changeset 3b1c6da


Ignore:
Timestamp:
Feb 29, 2012 11:26:52 AM (13 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, master
Children:
fe6e0be
Parents:
25930db
Message:

Typo. id is a member and the fedid needs to be accessed as bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/deter/topdl.py

    r25930db r3b1c6da  
    465465    def to_xml(self):
    466466        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())
    468469        elif self.uri: rv = "<uri>%s</uri>" % escape(self.uri)
    469470        elif self.localname:
     
    671672    def to_xml(self):
    672673        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))
    674675        if self.interface:
    675676            rv += join(["<interface>%s</interface>" % i.to_xml()
Note: See TracChangeset for help on using the changeset viewer.