Mercurial > hg
changeset 36602:e30be4d2ac60
lfs: use byteskwargs() on some **kwargs for python 3 compat
Differential Revision: https://phab.mercurial-scm.org/D2566
author | Augie Fackler <augie@google.com> |
---|---|
date | Fri, 02 Mar 2018 11:07:07 -0500 |
parents | 4da09b46451e |
children | dcb6fbaa43a8 |
files | hgext/lfs/pointer.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/lfs/pointer.py Fri Mar 02 11:06:37 2018 -0500 +++ b/hgext/lfs/pointer.py Fri Mar 02 11:07:07 2018 -0500 @@ -13,6 +13,7 @@ from mercurial import ( error, + pycompat, ) class InvalidPointer(error.RevlogError): @@ -23,7 +24,8 @@ def __init__(self, *args, **kwargs): self['version'] = self.VERSION - super(gitlfspointer, self).__init__(*args, **kwargs) + super(gitlfspointer, self).__init__(*args) + self.update(pycompat.byteskwargs(kwargs)) @classmethod def deserialize(cls, text):