Example #1
0
File: api.py Project: eerock/reddit
 def process_error(self, res):
     if self.is_error_code(res, Errors.RECORD_NOT_FOUND):
         ShippingAddress.delete(self._user, self.customerAddressId)
     GetCustomerShippingAddressRequest.process_error(self, res)
Example #2
0
 def process_error(self, res):
     if self.is_error_code(res, Errors.RECORD_NOT_FOUND):
         ShippingAddress.delete(self._user, self.customerAddressId)
     GetCustomerShippingAddressRequest.process_error(self, res)
Example #3
0
File: api.py Project: eerock/reddit
 def process_response(self, res):
     ShippingAddress.delete(self._user, self.customerAddressId)
     return True
Example #4
0
 def process_response(self, res):
     ShippingAddress.delete(self._user, self.customerAddressId)
     return True