Rev 4883: Get rid of a simple TODO that has already been done. in http://bazaar.launchpad.net/~jameinel/bzr/2.1-client-reconnect-819604
John Arbash Meinel
john at arbash-meinel.com
Mon Sep 26 15:18:32 UTC 2011
At http://bazaar.launchpad.net/~jameinel/bzr/2.1-client-reconnect-819604
------------------------------------------------------------
revno: 4883
revision-id: john at arbash-meinel.com-20110926151814-3lscd6w6mupznpw5
parent: pqm at pqm.ubuntu.com-20110819202748-m4qryq1u13jf7akn
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1-client-reconnect-819604
timestamp: Mon 2011-09-26 17:18:14 +0200
message:
Get rid of a simple TODO that has already been done.
-------------- next part --------------
=== modified file 'bzrlib/smart/protocol.py'
--- a/bzrlib/smart/protocol.py 2010-02-17 17:11:16 +0000
+++ b/bzrlib/smart/protocol.py 2011-09-26 15:18:14 +0000
@@ -1075,9 +1075,6 @@
self._real_write_func = write_func
def _write_func(self, bytes):
- # TODO: It is probably more appropriate to use sum(map(len, _buf))
- # for total number of bytes to write, rather than buffer based on
- # the number of write() calls
# TODO: Another possibility would be to turn this into an async model.
# Where we let another thread know that we have some bytes if
# they want it, but we don't actually block for it
More information about the bazaar-commits
mailing list