##// END OF EJS Templates
py3: fix error string with bytestr() on repr()d value...
Pulkit Goyal -
r37388:b6de372b default
parent child Browse files
Show More
@@ -78,7 +78,8 b' class diffopts(object):'
78 self.context = int(self.context)
78 self.context = int(self.context)
79 except ValueError:
79 except ValueError:
80 raise error.Abort(_('diff context lines count must be '
80 raise error.Abort(_('diff context lines count must be '
81 'an integer, not %r') % self.context)
81 'an integer, not %r') %
82 pycompat.bytestr(self.context))
82
83
83 def copy(self, **kwargs):
84 def copy(self, **kwargs):
84 opts = dict((k, getattr(self, k)) for k in self.defaults)
85 opts = dict((k, getattr(self, k)) for k in self.defaults)
General Comments 0
You need to be logged in to leave comments. Login now