/[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 938 by gross, Thu Jan 25 03:40:54 2007 UTC revision 939 by gross, Thu Jan 25 04:23:38 2007 UTC
# Line 1057  class Simulation(Model): Line 1057  class Simulation(Model):
1057          if len(missing)>0:          if len(missing)>0:
1058              msg=""              msg=""
1059              for l in missing:              for l in missing:
1060                   line=str(self)                   msg+="\n\t"+str(l[-1])+" at "+str(self)
1061                   settarget=False                   for i in xrange(len(l)-1): msg+="."+str(l[i])
                  for c in l:  
                     if settarget:  
                        line+=" linked to "+str(c)  
                     else:  
                        line+="."+str(c)  
                     if isinstance(c,str): settarget=True  
                  msg+="\n\t"+line  
1062              raise MissingLink("link targets missing in the Simulation: %s"%msg)              raise MissingLink("link targets missing in the Simulation: %s"%msg)
1063          #==============================          #==============================
1064          self.doInitialization()          self.doInitialization()

Legend:
Removed from v.938  
changed lines
  Added in v.939

  ViewVC Help
Powered by ViewVC 1.1.26