|
From: <ps...@us...> - 2008-12-10 08:06:32
|
Revision: 1473
http://pywebsvcs.svn.sourceforge.net/pywebsvcs/?rev=1473&view=rev
Author: psha
Date: 2008-12-10 08:06:29 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
Use property for ADDRESS attribute of WSAW* namespace structure
Modified Paths:
--------------
trunk/wstools/Namespaces.py
Modified: trunk/wstools/Namespaces.py
===================================================================
--- trunk/wstools/Namespaces.py 2008-12-10 08:03:17 UTC (rev 1472)
+++ trunk/wstools/Namespaces.py 2008-12-10 08:06:29 UTC (rev 1473)
@@ -185,10 +185,9 @@
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,)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|