##// END OF EJS Templates
py3: stringify integer with %d instead of bytes()...
Gregory Szorc -
r36231:b67d4b7e default
parent child Browse files
Show More
@@ -445,7 +445,7 b' class sshserver(object):'
445 _sshv1respondstream(self._fout, rsp)
445 _sshv1respondstream(self._fout, rsp)
446 elif isinstance(rsp, wireprototypes.pushres):
446 elif isinstance(rsp, wireprototypes.pushres):
447 _sshv1respondbytes(self._fout, b'')
447 _sshv1respondbytes(self._fout, b'')
448 _sshv1respondbytes(self._fout, bytes(rsp.res))
448 _sshv1respondbytes(self._fout, b'%d' % rsp.res)
449 elif isinstance(rsp, wireprototypes.pusherr):
449 elif isinstance(rsp, wireprototypes.pusherr):
450 _sshv1respondbytes(self._fout, rsp.res)
450 _sshv1respondbytes(self._fout, rsp.res)
451 elif isinstance(rsp, wireprototypes.ooberror):
451 elif isinstance(rsp, wireprototypes.ooberror):
General Comments 0
You need to be logged in to leave comments. Login now