diff options
author | U-GOOGLE\pcloudy <pcloudy@pcloudy1-w.ad.corp.google.com> | 2018-01-23 08:58:03 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-23 08:59:31 -0800 |
commit | d0655f5283f206ad8a54bec0e94195aaa1baac56 (patch) | |
tree | de2763668ebe85e79a3050c59298efaa91027a29 /scripts | |
parent | 96a9a2baa31da9d11e3cdaf152241991ae832f35 (diff) |
Fix index out of range error in convert_changelog.py
Change-Id: Ie6070b01e7d004589064edc1f182baa6b6fac8b4
PiperOrigin-RevId: 182940613
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/packages/debian/convert_changelog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/packages/debian/convert_changelog.py b/scripts/packages/debian/convert_changelog.py index a4fb78eb42..a124807c4f 100644 --- a/scripts/packages/debian/convert_changelog.py +++ b/scripts/packages/debian/convert_changelog.py @@ -39,7 +39,7 @@ def main(input_file, changelog_file, output_file): if lines[0] == "Cherry picks:": # Skip cherry picks list i = 1 - while lines[i].strip(): + while i < len(lines) and lines[i].strip(): i += 1 lines = lines[i + 1:] |