1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Fix failure in test_local_host resulting from attempting to add tuple to list.

This commit is contained in:
Ivan Malison
2014-09-17 21:48:28 -07:00
parent a08c90c5d6
commit 8db46002a3

View File

@@ -71,7 +71,7 @@ class Cassette(object):
self._ignore_hosts = ignore_hosts
if ignore_localhost:
self._ignore_hosts = list(set(
self._ignore_hosts + ['localhost', '0.0.0.0', '127.0.0.1']
list(self._ignore_hosts) + ['localhost', '0.0.0.0', '127.0.0.1']
))
# self.data is the list of (req, resp) tuples