From 8db46002a3a4627923dbbfaf7f6c95f42c424b3d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 17 Sep 2014 21:48:28 -0700 Subject: [PATCH] Fix failure in test_local_host resulting from attempting to add tuple to list. --- vcr/cassette.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcr/cassette.py b/vcr/cassette.py index b1864f2..b39ae9c 100644 --- a/vcr/cassette.py +++ b/vcr/cassette.py @@ -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 -- 2.43.0