summaryrefslogtreecommitdiffstats
path: root/bindings/utils.py
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-02-01 19:50:11 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-02-01 19:50:11 +0000
commit431e8088a9a5b211d5c8d836317de0374591f62e (patch)
treecb38798292e6a0594eee637200445d97bd074929 /bindings/utils.py
parent0c67831f552607514700b5f27952f8fb1b6809cf (diff)
downloadlasso-431e8088a9a5b211d5c8d836317de0374591f62e.tar.gz
lasso-431e8088a9a5b211d5c8d836317de0374591f62e.tar.xz
lasso-431e8088a9a5b211d5c8d836317de0374591f62e.zip
Bindings: re-add binding for lasso_session_get_assertions for perl, special case formatting function for WsAddressing namespace
* bindings/utils.py: type have LassoWsAddr prefix but function have the lasso_wsa_ prefix, so we have to adjust generated prefix.
Diffstat (limited to 'bindings/utils.py')
-rw-r--r--bindings/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings/utils.py b/bindings/utils.py
index 04662f1f..50a6314c 100644
--- a/bindings/utils.py
+++ b/bindings/utils.py
@@ -50,6 +50,7 @@ def format_as_underscored(var):
var = re.sub(r'[a-z0-9]([A-Z])', rep, var).lower()
var = var.replace('id_wsf2_', 'idwsf2_')
var = var.replace('_saslresponse', '_sasl_response')
+ var = var.replace('ws_addr_', 'wsa_')
return var
def format_underscore_as_camelcase(var):