comparison DepGraph.py @ 10:09b39021c4af

Make filename an attribute of file.
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Wed, 14 Nov 2012 21:44:53 +0100
parents 2263a283203c
children
comparison
equal deleted inserted replaced
9:2263a283203c 10:09b39021c4af
31 31
32 def addDependency(self, src, dst): 32 def addDependency(self, src, dst):
33 if not type(dst) is ListType: 33 if not type(dst) is ListType:
34 dst = [ dst ] 34 dst = [ dst ]
35 35
36 self.rightSize() 36 self.rightSize()
37 37
38 si = self.values.index(src) 38 si = self.values.index(src)
39 for d in dst: 39 for d in dst:
40 if d in self.values: 40 if d in self.values:
41 di = self.values.index(d) 41 di = self.values.index(d)