Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0685d62

Browse files
committed
fixed classmethod argument PYL-C0202
1 parent 4ba1cea commit 0685d62

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ Contributors are:
3434
-Stefan Stancu <stefan.stancu _at_ gmail.com>
3535
-César Izurieta <cesar _at_ caih.org>
3636
-Arthur Milchior <arthur _at_ milchior.fr>
37+
-Anil Khatri <anil.soccer.khatri _at_ gmail.com>
3738

3839
Portions derived from other open source works and are clearly marked.

‎git/refs/log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def message(self):
8484
return self[4]
8585

8686
@classmethod
87-
def new(self, oldhexsha, newhexsha, actor, time, tz_offset, message):
87+
def new(cls, oldhexsha, newhexsha, actor, time, tz_offset, message):
8888
""":return: New instance of a RefLogEntry"""
8989
if not isinstance(actor, Actor):
9090
raise ValueError("Need actor instance, got %s" % actor)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /