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

substiture IOError with more appropriate ValueError

This commit is contained in:
Julien Funk
2017-01-19 13:10:08 -05:00
parent 6887e2cff9
commit 9e70993d57
3 changed files with 11 additions and 6 deletions

View File

@@ -288,7 +288,7 @@ class Cassette(object):
self.append(request, response)
self.dirty = False
self.rewound = True
except IOError:
except ValueError:
pass
def __str__(self):