diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-10-29 11:53:15 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-10-30 23:49:00 +1100 |
commit | d1e94980bf76a7dc07b01979c5d263fc32dccbf8 (patch) | |
tree | 47b0ac43dbb834d6f4dc9480a8f1c9f31529ba60 | |
parent | ccbb77693cec4e612d839b2dca92f97aa05f342e (diff) | |
download | samba-d1e94980bf76a7dc07b01979c5d263fc32dccbf8.tar.gz samba-d1e94980bf76a7dc07b01979c5d263fc32dccbf8.tar.bz2 samba-d1e94980bf76a7dc07b01979c5d263fc32dccbf8.zip |
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 <abartlet@samba.org>
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 3 |
1 files changed, 3 insertions, 0 deletions
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:] |