human
Solve the following python programming problem given the following code:
def _read_new_format(config, repository) : 
    sections = config.sections () 
    index_servers = config.get ('distutils', 'index-servers') 
    _servers = [server.strip () for server in index_servers.split ('
') if (server.strip () != '')] 
    if (_servers == []) : 
        if ('pypi' in sections) : 
            _servers = ['pypi'] 
else : 
            raise InvalidPyPIConfig ('No index-servers section or pypi section') 
for server in _servers : 
        current = PyPIConfig () 
        current.username = config.get (server, 'username') 
        current.server = server 
        def _get_default(key, default) : 
            if config.has_option (server, key) : 
                return config.get (server, key) 
else : 
                return default 
current.repository = _get_default ('repository', DEFAULT_REPOSITORY) 
        current.realm = _get_default ('realm', DEFAULT_REALM) 
        current.password = _get_default ('password', None) 
        if ((current.server == repository) or (current.repository == config)) : 
            return current 
raise InvalidPyPIConfig (('No section for repository %r found' % repository)) 

    
    

    Fix the buggy line: if ((current.server == repository) or (current.repository == config)) :
assistant
#Here is Python program to fix the buggy line: if ((current.

if ((current.server == repository) or (current.repository == repository)) :