diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | git/refs/log.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -34,5 +34,6 @@ Contributors are: -Stefan Stancu <stefan.stancu _at_ gmail.com> -César Izurieta <cesar _at_ caih.org> -Arthur Milchior <arthur _at_ milchior.fr> +-Anil Khatri <anil.soccer.khatri _at_ gmail.com> Portions derived from other open source works and are clearly marked. 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) |