Commits

Thomas Waldmann  committed c765f24

fix unresolved reference in register_namespace classmethod

  • Participants
  • Parent commits 3f325a6
  • Tags 0.9.2

Comments (0)

Files changed (1)

File 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 = {