Fix Tree() calls in libbe.command.depend
authorW. Trevor King <wking@drexel.edu>
Sat, 26 Jun 2010 13:44:04 +0000 (09:44 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 26 Jun 2010 13:44:04 +0000 (09:44 -0400)
.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/171819aa-c092-4ddf-ace3-797635fa2572/values
.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/545311df-8c88-4504-9f83-11d7c5d8aa50/values
libbe/command/depend.py

index 66155bdfebf79b5567e27eed27a0405cdc5a70fa..c287b3d503e823a098e09526731e888b641f9530 100644 (file)
@@ -15,8 +15,7 @@ severity: fatal
 status: closed
 
 
-summary: Get a basic template mocked up for the list page.  Go further from
-  there.
+summary: Get a basic template mocked up for the list page.  Go further from there.
 
 
 time: Fri, 30 Jan 2009 03:16:26 +0000
index 790da5e4c9ecaa69dd15bdbd109d9d65b1cb283c..65019247e35f847e37d55e5dc48b0df915956c78 100644 (file)
@@ -15,8 +15,8 @@ severity: minor
 status: closed
 
 
-summary: Implement bug updating (not comments).  Check on the whitespace of
-  the summary field while you're at it.
+summary: Implement bug updating (not comments).  Check on the whitespace of the summary
+  field while you're at it.
 
 
 time: Sat, 31 Jan 2009 02:59:54 +0000
index b9f6354c04978ad6a4d2a22b31bfa7df1c4c1346..09a3743cafbb527a5e57ad137c246c819a74d87c 100644 (file)
@@ -376,7 +376,7 @@ class DependencyTree (object):
         self.allowed_severity_values = allowed_severity_values
 
     def _build_tree(self, child_fn):
-        root = tree.Tree()
+        root = libbe.util.tree.Tree()
         root.bug = self.root_bug
         root.depth = 0
         stack = [root]
@@ -391,7 +391,7 @@ class DependencyTree (object):
                 if self.allowed_severity_values != None \
                         and not bug.severity in self.allowed_severity_values:
                     continue
-                child = tree.Tree()
+                child = libbe.util.tree.Tree()
                 child.bug = bug
                 child.depth = node.depth+1
                 node.append(child)