comparison Compilable.py @ 4:3a56cd936c59

Cleanup some code. Add code for breaking loops in the dependency tree.
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Mon, 24 Sep 2012 01:16:43 +0200
parents a1224150b8f6
children 09b39021c4af
comparison
equal deleted inserted replaced
3:f65c2d63ab66 4:3a56cd936c59
123 return retVal 123 return retVal
124 124
125 125
126 def __repr__(self): 126 def __repr__(self):
127 return self.path 127 return self.path
128
129
130 @staticmethod
131 def acceptsFile(name):
132 if name.endswith(".hpp"):
133 return True
134 if name.endswith(".h"):
135 return True
136 if name.endswith(".cpp"):
137 return True
138 return False