| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,9 +22,8 @@ def _migrate_map(contents): | |||
| 22 | 22 | lines = contents.splitlines(True) | |
| 23 | 23 | i = 0 | |
| 24 | 24 | # Only loop on non empty configuration file | |
| 25 | - if i < len(lines): | ||
| 26 | - while _is_header_line(lines[i]): | ||
| 27 | - i += 1 | ||
| 25 | + while i < len(lines) and _is_header_line(lines[i]): | ||
| 26 | + i += 1 | ||
| 28 | 27 | ||
| 29 | 28 | header = ''.join(lines[:i]) | |
| 30 | 29 | rest = ''.join(lines[i:]) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments