Revision a3c10d31

b/lib/http/client.py
352 352
    """Returns HTTP clients to the pool.
353 353

  
354 354
    """
355
    assert not frozenset(pclients) & frozenset(self._pool.values())
356

  
355 357
    for pc in pclients:
356 358
      self._logger.debug("Returning client %s to pool", pc)
357 359
      assert pc.identity not in self._pool
358
      assert pc not in self._pool.values()
359 360
      self._pool[pc.identity] = pc
360 361

  
361 362
    # Check for unused clients

Also available in: Unified diff