mirror of https://gitlab.com/ita1024/waf.git
Issue 1174
This commit is contained in:
parent
183388abce
commit
62862a143d
|
@ -22,6 +22,7 @@ NEW IN WAF 1.7.0
|
|||
* Detect cython dependencies of the form "from module import x" #1044
|
||||
* Use the cython includes in the dependency scanner #1166
|
||||
* Improved the behaviour of Utils.readf/Utils.writef on Win32
|
||||
* Made Task.__repr__ more robust #1174
|
||||
|
||||
NEW IN WAF 1.6.11
|
||||
-----------------
|
||||
|
|
|
@ -442,7 +442,13 @@ class Task(TaskBase):
|
|||
|
||||
def __repr__(self):
|
||||
"for debugging purposes"
|
||||
return "".join(['\n\t{task %r: ' % id(self), self.__class__.__name__, " ", ",".join([x.name for x in self.inputs]), " -> ", ",".join([x.name for x in self.outputs]), '}'])
|
||||
try:
|
||||
ins = ",".join([x.name for x in self.inputs])
|
||||
outs = ",".join([x.name for x in self.outputs])
|
||||
except TypeError:
|
||||
ins = ",".join([str(x) for x in self.inputs])
|
||||
outs = ",".join([str(x) for x in self.outputs])
|
||||
return "".join(['\n\t{task %r: ' % id(self), self.__class__.__name__, " ", ins, " -> ", outs, '}'])
|
||||
|
||||
def uid(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue