From d1e94980bf76a7dc07b01979c5d263fc32dccbf8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 29 Oct 2010 11:53:15 +1100 Subject: waf: cope with rules with no inputs when we display a rule with no inputs, just call the original display function Pair-Programmed-With: Andrew Bartlett --- buildtools/wafsamba/wafsamba.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index d19b045da4..d4acd19ba5 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -947,6 +947,9 @@ def samba_display(self): if target_type in type_map: return progress_display(self, type_map[target_type], self.name) + if len(self.inputs) == 0: + return Task.Task.old_display(self) + fname = self.inputs[0].bldpath(self.env) if fname[0:3] == '../': fname = fname[3:] -- cgit