redo-ifchange: remove special case for zero arguments.

Not sure why I put there, but special cases aren't worth the hassle.
This commit is contained in:
Avery Pennarun 2011-02-21 03:55:18 -08:00
commit ea7057d9b6
2 changed files with 1 additions and 2 deletions

View file

@ -297,6 +297,7 @@ def main(targets, shouldbuildfunc):
# In the first cycle, we just build as much as we can without worrying
# about any lock contention. If someone else has it locked, we move on.
seen = {}
lock = None
for t in targets:
if t in seen:
continue