<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_new_config(self, updates):
 """ Given a list of updates, write the updates out to the provided configuartion file. Args: updates (list):
 List of Update objects. """

        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)