Changeset 2771:58b6da4cf996 in livinglogic.python.xist

Show
Ignore:
Timestamp:
07/04/07 18:53:26 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Fix attrendswith_xml (was calling startswith()).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/xfind.py

    r2769 r2771  
    386386                attr = node.attrs.get_xml(self.attrname) 
    387387                if not attr.isfancy(): # if there are PIs, say no 
    388                     return unicode(attr).startswith(self.attrvalue) 
     388                    return unicode(attr).endswith(self.attrvalue) 
    389389        return False 
    390390