summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorAnil Khatri <anil.soccer.khatri@gmail.com>2019-10-22 21:32:58 +0530
committerAnil Khatri <anil.soccer.khatri@gmail.com>2019-10-22 21:32:58 +0530
commit0685d629f86ef27e4b68947f63cb53f2e750d3a7 (patch)
treed8b02a72a4a10e8eef00f5073e947dbc93eeb21a /git
parent4ba1ceaeadd8ff39810c5f410f92051a36dd17e6 (diff)
downloadgitpython-0685d629f86ef27e4b68947f63cb53f2e750d3a7.tar.gz
fixed classmethod argument PYL-C0202
Diffstat (limited to 'git')
-rw-r--r--git/refs/log.py2
1 files changed, 1 insertions, 1 deletions
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)