Changeset 7638


Ignore:
Timestamp:
21/10/10 11:39:04 (9 years ago)
Author:
astephen
Message:

Fixed logging error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/nappy/nappy_api.py

    r5546 r7638  
    124124# Import standard library modules 
    125125import logging 
     126logging.basicConfig(level=logging.INFO) 
     127log = logging.getLogger(__name__) 
    126128 
    127129# Import third-party software 
     
    149151default_delimiter = nappy.utils.common_utils.getDefault("default_delimiter") 
    150152default_float_format = nappy.utils.common_utils.getDefault("default_float_format") 
    151  
    152 logging.basicConfig(level=logging.INFO) 
    153 log = logging.getLogger(__name__) 
    154153 
    155154 
Note: See TracChangeset for help on using the changeset viewer.