diff options
Diffstat (limited to 'doc/scripts/update_deps.py')
-rwxr-xr-x | doc/scripts/update_deps.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/scripts/update_deps.py b/doc/scripts/update_deps.py index 61aa887cc..ac19885e0 100755 --- a/doc/scripts/update_deps.py +++ b/doc/scripts/update_deps.py @@ -14,7 +14,7 @@ def update_requires(dir, deps): while lines.pop(start) != '</requires>': pass - while lines[-1] == '': + while len(lines) > 0 and lines[-1] == '': lines = lines[:-1] if len(deps) > 0: |