/[escript]/trunk/escript/py_src/modelframe.py
ViewVC logotype

Diff of /trunk/escript/py_src/modelframe.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1019 by gross, Mon Feb 19 05:12:38 2007 UTC revision 1020 by phornby, Mon Mar 12 10:12:36 2007 UTC
# Line 1154  class Simulation(Model): Line 1154  class Simulation(Model):
1154              if isinstance(n, minidom.Text):              if isinstance(n, minidom.Text):
1155                  continue                  continue
1156              sims.append(esysxml.getComponent(n))              sims.append(esysxml.getComponent(n))
1157          sims.sort(cmp=_comp)          sims.sort(_comp)
1158          sim=cls([s[1] for s in sims], debug=esysxml.debug)          sim=cls([s[1] for s in sims], debug=esysxml.debug)
1159          esysxml.registerLinkableObject(sim, node)          esysxml.registerLinkableObject(sim, node)
1160          return sim          return sim

Legend:
Removed from v.1019  
changed lines
  Added in v.1020

  ViewVC Help
Powered by ViewVC 1.1.26