Changeset 212

Show
Ignore:
Timestamp:
Wed Mar 29 21:51:19 2006
Author:
drew
Message:

- fixed bug in config.py which doesn't allow ws before section

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/utiltests.py

    r199 r212  
    8 8 import xix.utils.diff  
    9 9 import xix.utils.binder  
      10 import xix.utils.mock  
      11 import xix.utils.misc.cover  
    10 12 import xix.utils.tools.options  
    11 13 import xix.utils.tools.parse  
     
    22 24     xix.utils.diff,  
    23 25     xix.utils.binder,  
      26     xix.utils.mock,  
      27     xix.utils.misc.cover,  
    24 28     xix.utils.tools.options,  
    25 29     xix.utils.tools.parse,  
  • trunk/xix/utils/decor.py

    r199 r212  
    39 39     """  
    40 40     def wrapper(*args, **kwargs):  
      41         #print 'wrapper called'  
    41 42         curried = Curried(func)  
    42 43         return curried(*args, **kwargs)  
  • trunk/xix/utils/config.py

    r199 r212  
    54 54 __version__ = '$Revision$'[11:-2]  
    55 55  
    56   sectionHeader = re.compile('^(\[+)([^\[\]]*)(\]+)\s*$').search  
      56 sectionHeader = re.compile('^\s*(\[+)([^\[\]]*)(\]+)\s*$').search  
    56 56 keyValue = re.compile('^([^=]+)=(.+)$').search  
    57 57