fix unresolved reference in register_namespace classmethod 0.9.2
authorThomas Waldmann <tw AT waldmann-edv DOT de>
Sun, 23 Dec 2012 19:14:36 +0100
changeset 97c765f2440dad
parent 96 3f325a667871
child 98 296d433ef981
fix unresolved reference in register_namespace classmethod
emeraldtree/tree.py
     1.1 --- a/emeraldtree/tree.py	Sun Dec 23 19:05:48 2012 +0100
     1.2 +++ b/emeraldtree/tree.py	Sun Dec 23 19:14:36 2012 +0100
     1.3 @@ -1231,7 +1231,7 @@
     1.4              raise ValueError("Prefix format reserved for internal use")
     1.5          for k, v in cls._namespace_map.items():
     1.6              if k == uri or v == prefix:
     1.7 -                del _namespace_map[k]
     1.8 +                del cls._namespace_map[k]
     1.9          cls._namespace_map[uri] = prefix
    1.10  
    1.11      _namespace_map = {