old_contents: from .model import Model
  
  class Record(Model, object):
  
      def __init__(self, request, domain, attributes):
          self.domain  = domain
  
          super(Record, self).__init__(request, attributes)
  
      def update(self, attributes):
          success = False
  
          self.assign(attributes)
  
          response = self.request.put(
              'domains/{0}/records/{1}'.format(self.domain.name, self.id),
              {'record': attributes}
          )
  
          return response.was_successful()
  
      def delete(self):
          response = self.request.delete('domains/{0}/records/{1}'.format(self.domain.name, self.id))
          return response.was_successful()
  
new_contents: from .model import Model
  
  class Record(Model, object):
  
      def __init__(self, request, domain, attributes):
          self.domain  = domain
  
          super(Record, self).__init__(request, attributes)
  
      def update(self, attributes):
          self.assign(attributes)
  
          response = self.request.put(
              'domains/{0}/records/{1}'.format(self.domain.name, self.id),
              {'record': attributes}
          )
  
          return response.was_successful()
  
      def delete(self):
          response = self.request.delete('domains/{0}/records/{1}'.format(self.domain.name, self.id))
          return response.was_successful()
  
subject: Remove unused assignment in `Record` class