Method remove uses spaces inst. of tabs
authorRagner Magalhaes <ragner.magalhaes@openbossa.org>
Tue, 2 Dec 2008 21:20:53 +0000 (21:20 +0000)
committerAnderson Briglia <anderson.briglia@openbossa.org>
Sat, 28 Feb 2009 21:11:20 +0000 (17:11 -0400)
- Account method remove fixed to use spaces instead of tabs.

Signed-off-by: Frederico Simas Duarte <fred.duarte@openbossa.org>

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

account.pyx

index 0ae93fd..96fc918 100644 (file)
@@ -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):
         """