code: def write_new_config(self, updates):
          
          with open(self._new_config, 'w') as config_file:
              for update in updates:
                  line = '{0}=={1}  # The installed version is: {2}\n'.format(
                      update.name,
                      update.new_version,
                      update.current_version
                  )
  
                  config_file.write(line)
docs: Given a list of updates, write the updates out to the provided
          configuartion file.
  
          Args:
              updates (list): List of Update objects.