From 64892de09e67d80f0b1506d22b3f06fd3a2cf7c8 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Sun, 21 Mar 2010 22:00:35 +0000 Subject: Correctly support binding URI on references. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@925910 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/wsgi/scdl.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sca-cpp/trunk/modules/wsgi') 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): -- cgit v1.2.3