diff options
author | ludal <ludal@logilab.fr> | 2007-08-16 15:18:42 +0200 |
---|---|---|
committer | ludal <ludal@logilab.fr> | 2007-08-16 15:18:42 +0200 |
commit | 52246b9ade36752fefebfdcbc1d957a1c3b15b64 (patch) | |
tree | 528ca33ad702137bc0d87f0b37fac46da7c9a41d | |
parent | bb20c17c989fa99f267eed5a6f0d4095c0c02b28 (diff) | |
download | logilab-common-52246b9ade36752fefebfdcbc1d957a1c3b15b64.tar.gz |
cleanup
-rw-r--r-- | testlib.py | 2 | ||||
-rw-r--r-- | tree.py | 2 | ||||
-rw-r--r-- | visitor.py | 2 |
3 files changed, 2 insertions, 4 deletions
@@ -22,8 +22,6 @@ If no non-option arguments are present, prefixes used are 'test', 'regrtest', 'smoketest' and 'unittest'. """ -from __future__ import nested_scopes - import sys import os, os.path as osp import re @@ -322,7 +322,7 @@ def post_order_list(node, filter_func=no_filter): return l def pre_order_list(node, filter_func=no_filter): - """ + """ create a list with tree nodes for which the <filter> function returned true in a pre order fashion """ @@ -61,7 +61,7 @@ class Visitor: n = iterator.next() while n: result = n.accept(self) - n = iterator.next() + n = iterator.next() return result def _get_iterator(self, node): |