From 0685d629f86ef27e4b68947f63cb53f2e750d3a7 Mon Sep 17 00:00:00 2001 From: Anil Khatri Date: Tue, 22 Oct 2019 21:32:58 +0530 Subject: fixed classmethod argument PYL-C0202 --- git/refs/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/refs/log.py') diff --git a/git/refs/log.py b/git/refs/log.py index e8c2d7ad..8d557902 100644 --- a/git/refs/log.py +++ b/git/refs/log.py @@ -84,7 +84,7 @@ class RefLogEntry(tuple): return self[4] @classmethod - def new(self, oldhexsha, newhexsha, actor, time, tz_offset, message): + def new(cls, oldhexsha, newhexsha, actor, time, tz_offset, message): """:return: New instance of a RefLogEntry""" if not isinstance(actor, Actor): raise ValueError("Need actor instance, got %s" % actor) -- cgit v1.2.1