Revision: 1492
http://pywebsvcs.svn.sourceforge.net/pywebsvcs/?rev=1492&view=rev
Author: boverhof
Date: 2009-05-19 22:40:55 +0000 (Tue, 19 May 2009)
Log Message:
-----------
M ZSI/TCcompound.py
-- FIX BUG 2794124 TCcomplex Parse algorithm
Modified Paths:
--------------
trunk/zsi/ZSI/TCcompound.py
Modified: trunk/zsi/ZSI/TCcompound.py
===================================================================
--- trunk/zsi/ZSI/TCcompound.py 2009-05-18 19:48:29 UTC (rev 1491)
+++ trunk/zsi/ZSI/TCcompound.py 2009-05-19 22:40:55 UTC (rev 1492)
@@ -185,17 +185,19 @@
if debug:
self.logger.debug("ofwhat: %s",str(self.ofwhat))
- any = None
- for i,what in [ (i, self.ofwhat[i]) for i in range(len(self.ofwhat)) ]:
-
- # retrieve typecode if it is hidden
- if callable(what): what = what()
-
- # Loop over all available kids
- if debug:
- self.logger.debug("what: (%s,%s)", what.nspname, what.pname)
-
- for j,c_elt in [ (j, c[j]) for j in crange if c[j] ]:
+ for j,c_elt in [ (j, c[j]) for j in crange if c[j] ]:
+ for i,what in [ (i, self.ofwhat[i]) for i in range(len(self.ofwhat)) ]:
+ # Loop over all available kids
+ if debug:
+ self.logger.debug("what: (%s,%s)", what.nspname, what.pname)
+
+ # retrieve typecode if it is hidden
+ if callable(what): what = what()
+
+ # Loop over all available kids
+ if debug:
+ self.logger.debug("what: (%s,%s)", what.nspname, what.pname)
+
# Parse value, and mark this one done.
if debug:
self.logger.debug("child node: (%s,%s)", c_elt.namespaceURI, c_elt.tagName)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|