Changeset f36e01f in sasview for sasview/logger_config.py


Ignore:
Timestamp:
Apr 11, 2017 6:08:57 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:
b854587
Parents:
09983d1
Message:

Some pylint enhancements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/logger_config.py

    r09983d1 rf36e01f  
    11from __future__ import print_function 
     2 
     3import logging 
     4import logging.config 
     5import os 
     6import os.path 
     7 
     8import pkg_resources 
     9 
    210 
    311''' 
     
    513''' 
    614 
    7 import logging 
    8 import logging.config 
    9 import os 
    10 import os.path 
    11 import pkg_resources 
    1215 
    1316class SetupLogger(object): 
     
    2124 
    2225    def config_production(self): 
    23         ''' 
    24         ''' 
    2526        logger = logging.getLogger(self.name) 
    2627        if not logger.root.handlers: 
     
    4041 
    4142    def _read_config_file(self): 
    42         ''' 
    43         ''' 
    4443        if self.config_file is not None: 
    4544            logging.config.fileConfig(self.config_file) 
Note: See TracChangeset for help on using the changeset viewer.