##// END OF EJS Templates
ui: fix Python 2.7 support for ui.timestamp-output...
Joerg Sonnenberger -
r45579:b4b6ff83 default
parent child Browse files
Show More
@@ -1229,7 +1229,8 b' class ui(object):'
1229 }
1229 }
1230 if timestamp:
1230 if timestamp:
1231 args = (
1231 args = (
1232 b'[%s] ' % bytes(datetime.datetime.now().isoformat(), 'ASCII'),
1232 b'[%s] '
1233 % pycompat.bytestr(datetime.datetime.now().isoformat()),
1233 ) + args
1234 ) + args
1234 _writemsgwith(self._write, dest, *args, **opts)
1235 _writemsgwith(self._write, dest, *args, **opts)
1235 if timestamp:
1236 if timestamp:
General Comments 0
You need to be logged in to leave comments. Login now