X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=account.pyx;h=96fc918c0f306780bfeef8df083bfbbe7ffe6685;hp=0ae93fd01865093aaae3fa1dd52da042c71cab55;hb=404f5754a028f1ddc4f812fca8e841f62d288ce7;hpb=83612fdb793155a5c800a226f8a719b04dfd41ab diff --git a/account.pyx b/account.pyx index 0ae93fd..96fc918 100644 --- a/account.pyx +++ b/account.pyx @@ -396,20 +396,20 @@ cdef class Account: self.__exists = True return True - - def remove(self): - """ + + def remove(self): + """ Removes as existing account. @return True if successful, False if account doesnt exists """ - if self.__exists: - account.purple_accounts_remove(self._get_structure()) - - self__exists = False - return True - else: - return False + if self.__exists: + account.purple_accounts_remove(self._get_structure()) + + self__exists = False + return True + else: + return False def connect(self): """