Ignore:
Timestamp:
17/03/08 14:20:36 (14 years ago)
Author:
astephen
Message:

Cleaned up some of the data files and improved unit tests and comparison code.

File:
1 edited

Legend:

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

    r3619 r3625  
    1212 
    1313# Imports from local package 
    14 import nappy.utils.parse_config 
     14import parse_config 
     15 
    1516 
    1617def getNAFileClass(ffi): 
     
    117118    Gets config dict for version. 
    118119    """ 
    119     version = nappy.utils.parse_config.getConfigDict()["main"]["version"] 
     120    version = parse_config.getConfigDict()["main"]["version"] 
    120121    return version 
    121122 
     
    125126    Returns true or false for DEBUG status. 
    126127    """ 
    127     DEBUG = nappy.utils.parse_config.getConfigDict()["main"]["DEBUG"] 
     128    DEBUG = parse_config.getConfigDict()["main"]["DEBUG"] 
    128129    return eval(DEBUG) 
    129130 
     
    149150    """ 
    150151     
    151     dict = nappy.utils.parse_config.getAnnotationsConfigDict() 
     152    dict = parse_config.getAnnotationsConfigDict() 
    152153    if annotation: return dict[item] + delimiter 
    153154    else: return '' 
Note: See TracChangeset for help on using the changeset viewer.