/[ascend]/trunk/pygtk/gtkbrowser.py
ViewVC logotype

Diff of /trunk/pygtk/gtkbrowser.py

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

revision 273 by johnpye, Sun Feb 5 06:44:06 2006 UTC revision 277 by johnpye, Mon Feb 6 09:23:10 2006 UTC
# Line 420  class Browser: Line 420  class Browser:
420          print "DO_SIM(%s)" % str(type_object.getName())              print "DO_SIM(%s)" % str(type_object.getName())    
421          self.start_waiting("Compiling...")          self.start_waiting("Compiling...")
422    
423          self.sim = type_object.getSimulation(str(type_object.getName())+"_sim")          try:
424                self.sim = type_object.getSimulation(str(type_object.getName())+"_sim")
425            except RuntimeError, e:
426                self.stop_waiting()
427                self.reporter.reportError(str(e))
428                return
429    
430          print "...DONE 'getSimulation'"              print "...DONE 'getSimulation'"    
431          self.stop_waiting()          self.stop_waiting()
432    
433          self.start_waiting("Building simulation...")          self.start_waiting("Building simulation...")
434          print "BUILDING SIMULATION"          print "BUILDING SIMULATION"
435          self.sim.build()  
436            try:
437                self.sim.build()
438            except RuntimeError, e:
439                self.stop_waiting()
440                self.reporter.reportError(str(e))
441                return;
442    
443          print "DONE BUILDING"          print "DONE BUILDING"
444          self.stop_waiting()          self.stop_waiting()
445    

Legend:
Removed from v.273  
changed lines
  Added in v.277

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22