[Telepathy-commits] [telepathy-python/master] add a FIXME

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu Dec 4 06:00:18 PST 2008


---
 examples/file-transfer.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/examples/file-transfer.py b/examples/file-transfer.py
index c013154..a86d82e 100644
--- a/examples/file-transfer.py
+++ b/examples/file-transfer.py
@@ -131,6 +131,8 @@ class FTReceiverClient(FTClient):
             else:
                 out = file(path, 'a')
 
+            # FIXME: Should use GIOchannel or an async API to not block the
+            # client (idem for the reading side).
             read = offset
             while read < self.file_size:
                 data = s.recv(self.file_size - read)
-- 
1.5.6.5




More information about the Telepathy-commits mailing list