equal
deleted
inserted
replaced
1227 b'status', |
1227 b'status', |
1228 b'warning', |
1228 b'warning', |
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: |
1236 dest.flush() |
1237 dest.flush() |
1237 |
1238 |