summaryrefslogtreecommitdiff
path: root/tree.py
diff options
context:
space:
mode:
authorSylvain <syt@logilab.fr>2006-11-08 17:00:02 +0100
committerSylvain <syt@logilab.fr>2006-11-08 17:00:02 +0100
commit5152958ecda94ba39ed36fbc625bc5cd39ebab4d (patch)
treeccba85222bad5ff9a63c2ed95b216a2ef27c7724 /tree.py
parent907582a18893d133346ab235412609824b25b7bd (diff)
downloadlogilab-common-5152958ecda94ba39ed36fbc625bc5cd39ebab4d.tar.gz
reorganize, deprecation warning for deprecated stuff, remove old deprecated function/methods
Diffstat (limited to 'tree.py')
-rw-r--r--tree.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/tree.py b/tree.py
index 00be29a..f8c0828 100644
--- a/tree.py
+++ b/tree.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2000-2003 LOGILAB S.A. (Paris, FRANCE).
+# Copyright (c) 2003-2006 LOGILAB S.A. (Paris, FRANCE).
# http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This program is free software; you can redistribute it and/or modify it under
@@ -17,12 +17,8 @@
base class to represent tree structure
"""
-__revision__ = "$Id: tree.py,v 1.24 2006-02-24 10:40:21 nico Exp $"
-
import sys
-from warnings import warn
-from logilab.common import deprecated_function
from logilab.common.visitor import VisitedMixIn, FilteredIterator, no_filter
## Exceptions #################################################################
@@ -186,8 +182,6 @@ class Node :
else:
return [self]
- leafs = deprecated_function(leaves) # backward compatibility
-
def flatten(self, _list=None):
"""
return a list with all the nodes descendant from this node