Changeset 3399 for nappy/trunk


Ignore:
Timestamp:
12/02/08 19:16:04 (12 years ago)
Author:
astephen
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/nappy/utils/common_utils.py

    r3393 r3399  
    104104    return version 
    105105 
     106def getDebug(): 
     107    """ 
     108    Returns true or false for DEBUG status. 
     109    """ 
     110    DEBUG = nappy.utils.parse_config.getConfigDict()["DEFAULT"]["DEBUG"] 
     111    return eval(DEBUG) 
     112 
    106113 
    107114def makeDictFromCommaSepString(s): 
Note: See TracChangeset for help on using the changeset viewer.