| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -59,8 +59,9 @@ def _set_cache_(self, attr): | |||
| 59 | 59 | ||
| 60 | 60 | self.tag = lines[2][4:] # tag <tag name> | |
| 61 | 61 | ||
| 62 | - tagger_info = lines[3] # tagger <actor> <date> | ||
| 63 | - self.tagger, self.tagged_date, self.tagger_tz_offset = parse_actor_and_date(tagger_info) | ||
| 62 | + if len(lines) > 3: | ||
| 63 | + tagger_info = lines[3] # tagger <actor> <date> | ||
| 64 | + self.tagger, self.tagged_date, self.tagger_tz_offset = parse_actor_and_date(tagger_info) | ||
| 64 | 65 | ||
| 65 | 66 | # line 4 empty - it could mark the beginning of the next header | |
| 66 | 67 | # in case there really is no message, it would not exist. Otherwise | |
| Back | FazBrowse Home | New Git URL |
0 commit comments