diff options
author | lloyd <[email protected]> | 2010-09-03 13:50:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-09-03 13:50:31 +0000 |
commit | c4f36e11b7ca92112fefc5690c072b127e05b9dc (patch) | |
tree | 1fb0f1be21c383289f72cc514a6ae9d13582daab /doc/scripts/update_deps.py | |
parent | 09808b9d8d168428918fe6bf129f80d549409909 (diff) |
Fix dependency update scripts
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: |