Commits

Benoit Boissinot  committed b3116a2

simplify

  • Participants
  • Parent commits 613636a

Comments (0)

Files changed (2)

File src/discovery_tonfa.py

         dag = self.dag
         nodes = dag.nodeset()
 
-        yesno = [False for i in xrange(len(sample))]
+        yesno = [False]*len(sample)
         known = set()
         for i, n in enumerate(sample):
             if n in nodes:

File src/testing.py

     def testall(self):
         #self.testpredefined()
         #self.testfile("../data/linux.dag", pairs=[([160371], [162753])])
+        #self.testfile("../data/linux.dag", pairs=[([158097, 167257], [167019])])
         self.testfile("../data/linux.dag")