Commits

Thomas Waldmann committed c765f24

fix unresolved reference in register_namespace classmethod

Comments (0)

Files changed (1)

emeraldtree/tree.py

             raise ValueError("Prefix format reserved for internal use")
         for k, v in cls._namespace_map.items():
             if k == uri or v == prefix:
-                del _namespace_map[k]
+                del cls._namespace_map[k]
         cls._namespace_map[uri] = prefix
 
     _namespace_map = {