##// END OF EJS Templates
templater: show repr of string we're rejecting...
Augie Fackler -
r36729:e79adc12 default
parent child Browse files
Show More
@@ -1326,7 +1326,7 b' def _flatten(thing):'
1326 1326 # We can only hit this on Python 3, and it's here to guard
1327 1327 # against infinite recursion.
1328 1328 raise error.ProgrammingError('Mercurial IO including templates is done'
1329 ' with bytes, not strings')
1329 ' with bytes, not strings, got %r' % thing)
1330 1330 elif thing is None:
1331 1331 pass
1332 1332 elif not util.safehasattr(thing, '__iter__'):
General Comments 0
You need to be logged in to leave comments. Login now