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

Diff of /trunk/pygtk/interface/gtkbrowser.py

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

revision 458 by johnpye, Wed Apr 5 07:50:22 2006 UTC revision 459 by johnpye, Fri Apr 7 08:05:05 2006 UTC
# Line 84  class Browser: Line 84  class Browser:
84              ,default=config.PYGTK_ASSETS              ,default=config.PYGTK_ASSETS
85          )          )
86    
87            parser.add_option("--library"
88                ,action="store", type="string", dest="library_path"
89                ,help="overried the configuration value for the library path"
90                ,default=config.LIBRARY_PATH
91            )
92    
93          (options, args) = parser.parse_args()          (options, args) = parser.parse_args()
94    
95          #print "OPTIONS_______________:",options          #print "OPTIONS_______________:",options
# Line 108  class Browser: Line 114  class Browser:
114              print "SETTING ASCENDLIBRARY from preferences:",_path              print "SETTING ASCENDLIBRARY from preferences:",_path
115              self.library = ascend.Library(_prefpath)              self.library = ascend.Library(_prefpath)
116          else:          else:
117              _defaultpath = config.DEFAULT_LIBRARY              options.library_path
118              print "PYTHON SAYS DEFAULT LIBRARY IS",_defaultpath              print "PYTHON SAYS DEFAULT LIBRARY IS",options.library_path
119              print "WE WILL LET THE ENGINE DECIDE..."              print "WE WILL LET THE ENGINE DECIDE..."
120              self.library = ascend.Library()              self.library = ascend.Library(options.library_path)
121    
122          self.sim = None          self.sim = None
123    

Legend:
Removed from v.458  
changed lines
  Added in v.459

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