Fixed Account protocol parameter typo.
authorRagner Magalhaes <ragner.magalhaes@openbossa.org>
Tue, 2 Dec 2008 21:17:45 +0000 (21:17 +0000)
committerAnderson Briglia <anderson.briglia@openbossa.org>
Sat, 28 Feb 2009 21:11:19 +0000 (17:11 -0400)
FIXES:
 - Fixed Account protocol parameter typo.

Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
Acked-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1438 596f6dd7-e928-0410-a184-9e12fd12cf7e

purple.pyx

index 61cc9f2..55e72c9 100644 (file)
@@ -331,7 +331,8 @@ cdef class Purple:
                 protocol_id = <char *> account.purple_account_get_protocol_id(acc)
 
                 if username != NULL and protocol_id != NULL:
-                    account_list.append(Account(username, protocol_id, self))
+                    account_list.append(Account(username, \
+                            Protocol(protocol_id), self))
             iter = iter.next
 
         return account_list