summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorludal <ludal@logilab.fr>2007-08-16 15:18:42 +0200
committerludal <ludal@logilab.fr>2007-08-16 15:18:42 +0200
commit52246b9ade36752fefebfdcbc1d957a1c3b15b64 (patch)
tree528ca33ad702137bc0d87f0b37fac46da7c9a41d
parentbb20c17c989fa99f267eed5a6f0d4095c0c02b28 (diff)
downloadlogilab-common-52246b9ade36752fefebfdcbc1d957a1c3b15b64.tar.gz
cleanup
-rw-r--r--testlib.py2
-rw-r--r--tree.py2
-rw-r--r--visitor.py2
3 files changed, 2 insertions, 4 deletions
diff --git a/testlib.py b/testlib.py
index 528ae6d..cb98e90 100644
--- a/testlib.py
+++ b/testlib.py
@@ -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
diff --git a/tree.py b/tree.py
index 551c2d2..fa168ef 100644
--- a/tree.py
+++ b/tree.py
@@ -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
"""
diff --git a/visitor.py b/visitor.py
index 2fa42eb..df8d8cd 100644
--- a/visitor.py
+++ b/visitor.py
@@ -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):