Browse Source

Use property for ADDRESS attribute of WSAW* namespace structure

main
Pavel Shramov 16 years ago
parent
commit
b2fef01618
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      Namespaces.py

+ 1
- 2
Namespaces.py View File

@@ -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,)


Loading…
Cancel
Save