| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -83,16 +83,14 @@ def message(self): | |||
| 83 | 83 | """Message describing the operation that acted on the reference""" | |
| 84 | 84 | return self[4] | |
| 85 | 85 | ||
| 86 | - # skipcq: PYL-W0621 | ||
| 87 | 86 | @classmethod | |
| 88 | - def new(cls, oldhexsha, newhexsha, actor, time, tz_offset, message): | ||
| 87 | + def new(cls, oldhexsha, newhexsha, actor, time, tz_offset, message): # skipcq: PYL-W0621 | ||
| 89 | 88 | """:return: New instance of a RefLogEntry""" | |
| 90 | 89 | if not isinstance(actor, Actor): | |
| 91 | 90 | raise ValueError("Need actor instance, got %s" % actor) | |
| 92 | 91 | # END check types | |
| 93 | 92 | return RefLogEntry((oldhexsha, newhexsha, actor, (time, tz_offset), message)) | |
| 94 | 93 | ||
| 95 | - # skipcq: PYL-W0621 | ||
| 96 | 94 | @classmethod | |
| 97 | 95 | def from_line(cls, line): | |
| 98 | 96 | """:return: New RefLogEntry instance from the given revlog line. | |
@@ -123,7 +121,7 @@ def from_line(cls, line): | |||
| 123 | 121 | # END handle missing end brace | |
| 124 | 122 | ||
| 125 | 123 | actor = Actor._from_string(info[82:email_end + 1]) | |
| 126 | - time, tz_offset = parse_date(info[email_end + 2:]) | ||
| 124 | + time, tz_offset = parse_date(info[email_end + 2:]) # skipcq: PYL-W0621 | ||
| 127 | 125 | ||
| 128 | 126 | return RefLogEntry((oldhexsha, newhexsha, actor, (time, tz_offset), msg)) | |
| 129 | 127 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments