Show
Ignore:
Timestamp:
2007-09-08 13:52:06 (1 year ago)
Author:
Stefan Schwarzer <sschwarzer@sschwarzer.net>
branch:
default
Message:
Separate ignore patterns in `WSB_IGNORE` with whitespace, not
semicolons. I hope this is the final decision. ;-)
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • config.py

    r327 r332  
    168168  WSB_IGNORE 
    169169        Set wildcard patterns to ignore. If multiple patterns are 
    170         given, they must be separated with semicolons. Note that 
    171         whitespace is significant and is treated as part of the 
    172         respective pattern. 
     170        given, they must be separated with whitespace. 
    173171 
    174172        A typical example for WSB_IGNORE might be 
    175         *.pyc;*.pyo;*/.svn;*.svn/*;*/.hg;*/.hg/*;*.swp 
    176         (without the leading and trailing whitespace; note also that 
    177         there's no whitespace before or after the commas). 
     173        *.pyc  *.pyo  */.svn  *.svn/*  */.hg  */.hg/*  *.swp 
    178174 
    179175        If both this environment variable and one or more 
     
    367363 
    368364    Currently, only the ignore patterns are considered, via the 
    369     environment variable `WSB_IGNORE`. Its value is a comma
     365    environment variable `WSB_IGNORE`. Its value is a whitespace
    370366    separated string of patterns, for example 
    371     "*.pyc;*.pyo;*/.svn;*.svn/*;*/.hg;*/.hg/*;*.swp". 
     367    "*.pyc  *.pyo  */.svn  *.svn/*  */.hg  */.hg/*  *.swp". 
    372368    """ 
    373369    global ignore_patterns 
    374370    environ = os.environ 
    375371    patterns = environ.get('WSB_IGNORE', "") 
    376     for pattern in patterns.split(";"): 
     372    for pattern in patterns.split(): 
    377373        ignore_patterns.append(pattern) 
    378374