- Change .py files to use 4-space indents and no hard tab characters.
[plcapi.git] / PLC / Methods / DeleteAddressTypeFromAddress.py
index 4115759..2ddd753 100644 (file)
@@ -26,7 +26,7 @@ class DeleteAddressTypeFromAddress(Method):
         ]
 
     returns = Parameter(int, '1 if successful')
-    
+
 
     def call(self, auth, address_type_id_or_name, address_id):
         address_types = AddressTypes(self.api, [address_type_id_or_name])
@@ -44,7 +44,7 @@ class DeleteAddressTypeFromAddress(Method):
                 raise PLCPermissionDenied, "Address must be associated with one of your sites"
 
         address.remove_address_type(address_type)
-       self.event_objects = {'Address' : [address['address_id']],
-                             'AddressType': [address_type['address_type_id']]} 
+        self.event_objects = {'Address' : [address['address_id']],
+                              'AddressType': [address_type['address_type_id']]}
 
         return 1