From: Ivan Malison Date: Thu, 18 Sep 2014 04:48:28 +0000 (-0700) Subject: Fix failure in test_local_host resulting from attempting to add tuple to list. X-Git-Tag: v1.1.0^2~22 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=8db46002a3a4627923dbbfaf7f6c95f42c424b3d;p=vcrpy.git Fix failure in test_local_host resulting from attempting to add tuple to list. --- 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