Changeset a5a74e9 in sasview for sasview/logger_config.py


Ignore:
Timestamp:
Apr 11, 2017 2:00:47 AM (7 years ago)
Author:
Ricardo Ferraz Leal <ricleal@…>
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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
777146c
Parents:
cfa88ee
Message:

Added debug info to see what's happening

File:
1 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 
Note: See TracChangeset for help on using the changeset viewer.