]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
more migration replacement strings
authorKevin McCarthy <me@kevinmccarthy.org>
Sat, 10 May 2014 21:26:58 +0000 (11:26 -1000)
committerKevin McCarthy <me@kevinmccarthy.org>
Sat, 10 May 2014 21:52:36 +0000 (11:52 -1000)
vcr/migration.py

index a269ad887fc6c1c23966e79566d8e3c447d078e2..421be0c4a7dc0dc302b9982dc72fe0a2e21b4d25 100644 (file)
@@ -31,7 +31,7 @@ except ImportError:
     from yaml import Loader
 
 def preprocess_yaml(cassette):
-    return cassette.replace(' !!python/object:vcr.request.Request', '').replace('!!python/object/apply:__builtin__.frozenset', '')
+    return cassette.replace(' !!python/object:vcr.request.Request', '').replace('!!python/object/apply:__builtin__.frozenset', '').replace('!!python/object/apply:builtins.frozenset', '')
 
 
 PARTS = [