changeset 97:c765f2440dad 0.9.2

fix unresolved reference in register_namespace classmethod
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 23 Dec 2012 19:14:36 +0100
parents 3f325a667871
children 296d433ef981
files emeraldtree/tree.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/emeraldtree/tree.py	Sun Dec 23 19:05:48 2012 +0100
+++ b/emeraldtree/tree.py	Sun Dec 23 19:14:36 2012 +0100
@@ -1231,7 +1231,7 @@
             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 = {