##// END OF EJS Templates
templater: fix string representation of wrapped None...
Yuya Nishihara -
r38291:354fad86 @37 default
parent child Browse files
Show More
@@ -155,6 +155,8 b' class wrappedvalue(wrapped):'
155 raise error.ParseError(_('%r is not iterable') % self._value)
155 raise error.ParseError(_('%r is not iterable') % self._value)
156
156
157 def show(self, context, mapping):
157 def show(self, context, mapping):
158 if self._value is None:
159 return b''
158 return pycompat.bytestr(self._value)
160 return pycompat.bytestr(self._value)
159
161
160 def tovalue(self, context, mapping):
162 def tovalue(self, context, mapping):
General Comments 0
You need to be logged in to leave comments. Login now