Changeset f4a1433 in sasview for src/sas/logger_config.py


Ignore:
Timestamp:
Oct 24, 2017 2:44:26 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
fca1f50, d6b234b
Parents:
16afe01 (diff), 5582b078 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into ESS_GUI

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/sas/logger_config.py

    r9909967 rf4a1433  
    66import os.path 
    77 
    8 #import pkg_resources 
     8import pkg_resources 
    99 
    1010 
     
    7070        # To avoid the exception in OSx 
    7171        # NotImplementedError: resource_filename() only supported for .egg, not .zip 
    72         #try: 
    73         #    places_to_look_for_conf_file.append( 
    74         #        pkg_resources.resource_filename(__name__, filename)) 
    75         #except NotImplementedError: 
    76         #    pass 
     72        try: 
     73            places_to_look_for_conf_file.append( 
     74                pkg_resources.resource_filename(__name__, filename)) 
     75        except NotImplementedError: 
     76            pass 
    7777 
    7878        for filepath in places_to_look_for_conf_file: 
Note: See TracChangeset for help on using the changeset viewer.