From b2fef016185a4cae8def5030c58379501b771fa9 Mon Sep 17 00:00:00 2001 From: Pavel Shramov Date: Wed, 10 Dec 2008 08:06:29 +0000 Subject: [PATCH] Use property for ADDRESS attribute of WSAW* namespace structure --- Namespaces.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Namespaces.py b/Namespaces.py index 9ed6cbd..699ce6d 100755 --- a/Namespaces.py +++ b/Namespaces.py @@ -185,10 +185,9 @@ WSA_LIST = (WSA200508, WSA200408, WSA200403, WSA200303) class _WSAW(str): """ Define ADDRESS attribute to be compatible with WSA* layout """ - ADDRESS = "" + ADDRESS = property(lambda s: s) WSAW200605 = _WSAW("http://www.w3.org/2006/05/addressing/wsdl") -WSAW200605.ADDRESS = WSAW200605 # Compatibility hack WSAW_LIST = (WSAW200605,)