##// END OF EJS Templates
py3: use pycompat.byteskwargs() to covert keys of kwargs to bytes...
Pulkit Goyal -
r40706:d6a13f6d default
parent child Browse files
Show More
@@ -156,6 +156,7 b' class annotateopts(object):'
156 }
156 }
157
157
158 def __init__(self, **opts):
158 def __init__(self, **opts):
159 opts = pycompat.byteskwargs(opts)
159 for k, v in self.defaults.iteritems():
160 for k, v in self.defaults.iteritems():
160 setattr(self, k, opts.get(k, v))
161 setattr(self, k, opts.get(k, v))
161
162
General Comments 0
You need to be logged in to leave comments. Login now