mozilla/dxr — pull request #83 by mook (2013-01-30 05:46:35+00:00)
Title: Make sure we use at least one worker when building HTML

When there are more workers than files, we can end up with a `step` of `0`. `xrange` really doesn't like that, and throws an exception. This makes sure that it gets at least 1, so that it just iterates over an empty range instead.