From d0655f5283f206ad8a54bec0e94195aaa1baac56 Mon Sep 17 00:00:00 2001 From: "U-GOOGLE\\pcloudy" Date: Tue, 23 Jan 2018 08:58:03 -0800 Subject: Fix index out of range error in convert_changelog.py Change-Id: Ie6070b01e7d004589064edc1f182baa6b6fac8b4 PiperOrigin-RevId: 182940613 --- scripts/packages/debian/convert_changelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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:] -- cgit v1.2.3