X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=buddy.pyx;h=d12fd58821dd5f0c87d06539415110971f94b70d;hp=33d36b7d0fbc90dd32e3af65f2dcf0b694c59182;hb=76ca8699d9a05eba65edbd23ddfb3def68c55424;hpb=e7e4e8ff4937aed9c1b732719bc310c3e8a88f5e diff --git a/buddy.pyx b/buddy.pyx index 33d36b7..d12fd58 100644 --- a/buddy.pyx +++ b/buddy.pyx @@ -17,13 +17,13 @@ # along with this program. If not, see . # -cimport blist +cimport purple cdef class Buddy: """ Buddy class """ cdef blist.PurpleBuddy *__buddy - def __cinit__(self): + def __init__(self): self.__buddy = NULL def new_buddy(self, acc, char *scr, char *alias):