diff options
| author | Anil Khatri <anil.soccer.khatri@gmail.com> | 2019-10-24 21:22:53 +0530 | 
|---|---|---|
| committer | Anil Khatri <anil.soccer.khatri@gmail.com> | 2019-10-24 21:22:53 +0530 | 
| commit | 225529c8baaa6ee65b1b23fc1d79b99bf49ebfb1 (patch) | |
| tree | c6059f1e96444960e4a9cfd73b3d6306d6877fbe | |
| parent | 4dda3cbbd15e7a415c1cbd33f85d7d6d0e3a307a (diff) | |
| download | gitpython-225529c8baaa6ee65b1b23fc1d79b99bf49ebfb1.tar.gz | |
silence PYL-W0621
| -rw-r--r-- | git/refs/log.py | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/git/refs/log.py b/git/refs/log.py index 243287ad..ab5d75a3 100644 --- a/git/refs/log.py +++ b/git/refs/log.py @@ -83,16 +83,14 @@ class RefLogEntry(tuple):          """Message describing the operation that acted on the reference"""          return self[4] -    # skipcq: PYL-W0621      @classmethod -    def new(cls, oldhexsha, newhexsha, actor, time, tz_offset, message): +    def new(cls, oldhexsha, newhexsha, actor, time, tz_offset, message):  # skipcq: PYL-W0621          """:return: New instance of a RefLogEntry"""          if not isinstance(actor, Actor):              raise ValueError("Need actor instance, got %s" % actor)          # END check types          return RefLogEntry((oldhexsha, newhexsha, actor, (time, tz_offset), message)) -    # skipcq: PYL-W0621      @classmethod      def from_line(cls, line):          """:return: New RefLogEntry instance from the given revlog line. @@ -123,7 +121,7 @@ class RefLogEntry(tuple):          # END handle missing end brace          actor = Actor._from_string(info[82:email_end + 1]) -        time, tz_offset = parse_date(info[email_end + 2:]) +        time, tz_offset = parse_date(info[email_end + 2:])   # skipcq: PYL-W0621          return RefLogEntry((oldhexsha, newhexsha, actor, (time, tz_offset), msg)) | 
