summaryrefslogtreecommitdiffstats
path: root/tree.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-06-22 21:46:16 +0000
committerMatt Wilson <msw@redhat.com>2001-06-22 21:46:16 +0000
commit39d3d20bb5a12e931f7f00c57c20cb35fa306632 (patch)
treee0930a10fa2314c0cdb0563eccc38d3ac25c9436 /tree.py
parent148c16ab1836bf5a8dea6cda5ed7d409a1f019a5 (diff)
downloadanaconda-39d3d20bb5a12e931f7f00c57c20cb35fa306632.tar.gz
anaconda-39d3d20bb5a12e931f7f00c57c20cb35fa306632.tar.xz
anaconda-39d3d20bb5a12e931f7f00c57c20cb35fa306632.zip
copyright
Diffstat (limited to 'tree.py')
-rw-r--r--tree.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/tree.py b/tree.py
index 84dd53084..3addcfe2d 100644
--- a/tree.py
+++ b/tree.py
@@ -1,3 +1,20 @@
+#
+# tree.py - functions to build trees from lists
+#
+# Paul Fisher <rao@gnu.org>
+#
+# Copyright 1999 Red Hat, Inc.
+#
+# This software may be freely redistributed under the terms of the GNU
+# library public license.
+#
+# You should have received a copy of the GNU Library Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+
+# Uh. Don't ask me what this does. It's Paul's fault.
+
def build_tree (x):
if (x == ()): return ()
if (len (x) == 1): return (x[0],)