Changeset a5a74e9 in sasview


Ignore:
Timestamp:
Apr 11, 2017 4:00:47 AM (8 months ago)
Author:
Ricardo Ferraz Leal <ricleal@…>
Branches:
master, ESS_GUI, ESS_GUI_CategroyManager, ESS_GUI_Pr, ESS_GUI_cns, ESS_GUI_corf, ESS_GUI_py2_OLD, SVCC-1, SasView-664, costrafo411, docs, ticket-873, ticket-976, ticket-993, unittest-saveload
Children:
777146c
Parents:
cfa88ee
Message:

Added debug info to see what's happening

Location:
sasview
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasview/logger_config.py

    re6a3c6c ra5a74e9  
    6767        try: 
    6868            places_to_look_for_conf_file.append( 
    69                 pkg_resources.resource_filename("tempfile", filename)) 
     69                pkg_resources.resource_filename(__name__, filename)) 
    7070        except NotImplementedError: 
    7171            pass 
    7272 
    7373        for filepath in places_to_look_for_conf_file: 
     74            print("Checking if path exists: %s"%filepath) 
    7475            if os.path.exists(filepath): 
    7576                self.config_file = filepath 
  • sasview/sasview.py

    r63c7d581 ra5a74e9  
    2121from sas.sasview.logger_config import SetupLogger 
    2222 
    23 l = SetupLogger(__name__) 
    24 logger = l.config_production() 
     23logger = SetupLogger(__name__).config_production() 
    2524 
    2625# Log the start of the session 
Note: See TracChangeset for help on using the changeset viewer.