[Telepathy-commits] [telepathy-python/master] file-transfer.py: use new style class
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Wed Dec 3 06:14:30 PST 2008
---
examples/file-transfer.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/examples/file-transfer.py b/examples/file-transfer.py
index eb1267c..d3636fa 100644
--- a/examples/file-transfer.py
+++ b/examples/file-transfer.py
@@ -30,7 +30,7 @@ FT_STATE_CANCELLED = 5
ft_states = ['none', 'pending', 'accepted', 'open', 'completed', 'cancelled']
-class FTClient:
+class FTClient(object):
def __init__(self, account_file):
self.conn = connection_from_file(account_file, ready_handler=self.ready_cb)
--
1.5.6.5
More information about the Telepathy-commits
mailing list