##// END OF EJS Templates
webutil: use pycompat.bytestr() instead of str()...
Augie Fackler -
r34808:3caec3c0 default
parent child Browse files
Show More
@@ -30,6 +30,7 b' from .. import ('
30 mdiff,
30 mdiff,
31 patch,
31 patch,
32 pathutil,
32 pathutil,
33 pycompat,
33 templatefilters,
34 templatefilters,
34 ui as uimod,
35 ui as uimod,
35 util,
36 util,
@@ -589,7 +590,10 b' class sessionvars(object):'
589 def __iter__(self):
590 def __iter__(self):
590 separator = self.start
591 separator = self.start
591 for key, value in sorted(self.vars.iteritems()):
592 for key, value in sorted(self.vars.iteritems()):
592 yield {'name': key, 'value': str(value), 'separator': separator}
593 yield {'name': key,
594 'value': pycompat.bytestr(value),
595 'separator': separator,
596 }
593 separator = '&'
597 separator = '&'
594
598
595 class wsgiui(uimod.ui):
599 class wsgiui(uimod.ui):
General Comments 0
You need to be logged in to leave comments. Login now