Changeset 3488:f3281bb6a1e7 in livinglogic.python.xist

Show
Ignore:
Timestamp:
07/11/08 17:26:57 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Remove another unused exception class.

Files:
1 modified

Legend:

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

    r3487 r3488  
    436436    def __str__(self): 
    437437        return "can't convert object %r of type %s to an XIST node" % (self.object, type(self.object).__name__) 
    438  
    439  
    440 class AmbiguousNodeError(Warning): 
    441     """ 
    442     Exception that is raised when a character reference is malformed 
    443     (e.g. ``&amp;#foo;``) 
    444     """ 
    445  
    446     def __init__(self, name): 
    447         self.name = name 
    448  
    449     def __str__(self): 
    450         return "malformed character reference: &%s;" % self.name 
    451438 
    452439