Changeset 136:c6b0c63576f9
- 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
| r132 |
r136 |
|
| 107 | 107 | yield inner_item |
|---|
| 108 | 108 | |
|---|
| 109 | | def ignore_item(item): |
|---|
| | 109 | def _ignore_item(item): |
|---|
| 110 | 110 | """ |
|---|
| 111 | 111 | Return `True` if the path `item` should be omitted from the |
|---|
| … | … | |
| 145 | 145 | if path != config.root: |
|---|
| 146 | 146 | 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, |
|---|
| 148 | 148 | walk(path, config.dir_levels)): |
|---|
| 149 | 149 | # if the item is a directory, append a slash |
|---|