##// END OF EJS Templates
lfs: use byteskwargs() on some **kwargs for python 3 compat...
Augie Fackler -
r36620:e30be4d2 default
parent child Browse files
Show More
@@ -13,6 +13,7 b' from mercurial.i18n import _'
13
13
14 from mercurial import (
14 from mercurial import (
15 error,
15 error,
16 pycompat,
16 )
17 )
17
18
18 class InvalidPointer(error.RevlogError):
19 class InvalidPointer(error.RevlogError):
@@ -23,7 +24,8 b' class gitlfspointer(dict):'
23
24
24 def __init__(self, *args, **kwargs):
25 def __init__(self, *args, **kwargs):
25 self['version'] = self.VERSION
26 self['version'] = self.VERSION
26 super(gitlfspointer, self).__init__(*args, **kwargs)
27 super(gitlfspointer, self).__init__(*args)
28 self.update(pycompat.byteskwargs(kwargs))
27
29
28 @classmethod
30 @classmethod
29 def deserialize(cls, text):
31 def deserialize(cls, text):
General Comments 0
You need to be logged in to leave comments. Login now