diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-21 22:00:35 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-21 22:00:35 +0000 |
commit | 64892de09e67d80f0b1506d22b3f06fd3a2cf7c8 (patch) | |
tree | bf8822dc43fe3f3d2bb2a1d0f9c178484c70e646 /sca-cpp/trunk/modules/wsgi | |
parent | bc6e7c7b3b48a388f4291b8627ac5abb3069d8a7 (diff) |
Correctly support binding URI on references.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@925910 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/wsgi')
-rw-r--r-- | sca-cpp/trunk/modules/wsgi/scdl.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-cpp/trunk/modules/wsgi/scdl.py b/sca-cpp/trunk/modules/wsgi/scdl.py index 9687860d6e..f6c162889e 100644 --- a/sca-cpp/trunk/modules/wsgi/scdl.py +++ b/sca-cpp/trunk/modules/wsgi/scdl.py @@ -77,7 +77,7 @@ def binding(e): return () if match(car(e), "start", "binding.") == False: return binding(cdr(e)) - return tokens(att(car(e))["uri"]) + return att(car(e))["uri"] # Return the list of references under a SCDL component element def references(e): @@ -86,7 +86,7 @@ def references(e): if match(car(e), "start", "reference") == False: return references(cdr(e)) if "target" in att(car(e)): - return cons(att(car(e))["target"], references(cdr(e))) + return cons(car(tokens(att(car(e))["target"])), references(cdr(e))) return cons(binding(e), references(cdr(e))) # Return the list of properties under a SCDL component element @@ -103,7 +103,7 @@ def services(e): return () if match(car(e), "start", "service") == False: return services(cdr(e)) - return cons(binding(e), services(cdr(e))) + return cons(tokens(binding(e)), services(cdr(e))) # Return the name attribute of a SCDL element def name(e): |