Changeset 56681bd in sasview for guiframe/gui_manager.py
- Timestamp:
- Mar 25, 2011 12:40:35 PM (14 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 8e4355e
- Parents:
- c3f697e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
rc3f697e r56681bd 246 246 for item in self.plugins: 247 247 if plugin.__class__ == item.__class__: 248 msg = "Plugin %s already loaded" % plugin. __class__.__name__248 msg = "Plugin %s already loaded" % plugin.sub_menu 249 249 logging.info(msg) 250 250 is_loaded = True … … 301 301 name = '' 302 302 if not toks[0] == '__init__': 303 304 303 if toks[1] == '.py' or toks[1] == '': 305 304 name = toks[0] 306 305 #check the validity of the module name parsed 306 #before trying to import it 307 if name is None or name.strip() == '': 308 continue 307 309 path = [os.path.abspath(dir)] 308 310 file = '' … … 328 330 config.printEVT(msg) 329 331 except: 330 print sys.exc_value331 332 msg = "ViewerFrame._find_plugins: %s" % sys.exc_value 333 #print msg 332 334 logging.error(msg) 333 335 finally:
Note: See TracChangeset
for help on using the changeset viewer.