Changeset 3042:3f5ab6da9930 in livinglogic.python.xist

Show
Ignore:
Timestamp:
11/29/07 12:29:55 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Remove copied code. VPool needs no special implementation of attrclass() and attrclass_xml().

Files:
1 modified

Legend:

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

    r3041 r3042  
    41694169        return any(pool.hascharref_xml(name) for pool in self) 
    41704170 
    4171     def attrclass(self, name, xmlns): 
    4172         try: 
    4173             return Pool.attrclass(self, name, xmlns) 
    4174         except IllegalAttrError: 
    4175             if self.base is not None: 
    4176                 return self.base.attrclass(name, xmlns) 
    4177             raise 
    4178  
    4179     def attrclass_xml(self, name, xmlns): 
    4180         try: 
    4181             return Pool.attrclass_xml(self, name, xmlns) 
    4182         except IllegalAttrError: 
    4183             if self.base is not None: 
    4184                 return self.base.attrclass_xml(name, xmlns) 
    4185             raise 
    4186  
    41874171    def __getattr__(self, key): 
    41884172        for pool in self: