Changeset 136:c6b0c63576f9

Show
Ignore:
Timestamp:
2007-08-03 20:26:59 (1 year ago)
Author:
Stefan Schwarzer <sschwarzer@sschwarzer.net>
branch:
default
Message:
Renamed helper function `ignore_item` to `_ignore_item`.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • converter.py

    r132 r136  
    107107                yield inner_item 
    108108 
    109 def ignore_item(item): 
     109def _ignore_item(item): 
    110110    """ 
    111111    Return `True` if the path `item` should be omitted from the 
     
    145145    if path != config.root: 
    146146        html_parts.append(u'<tr><td><a href="..">[up]</a></td></tr>') 
    147     for item in itertools.ifilterfalse(ignore_item, 
     147    for item in itertools.ifilterfalse(_ignore_item, 
    148148                walk(path, config.dir_levels)): 
    149149        # if the item is a directory, append a slash