]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
gotta think of the future
authorKevin McCarthy <me@kevinmccarthy.org>
Sat, 10 May 2014 21:36:03 +0000 (11:36 -1000)
committerKevin McCarthy <me@kevinmccarthy.org>
Sat, 10 May 2014 21:52:36 +0000 (11:52 -1000)
vcr/migration.py

index 0b36284227e189e55232e9159accd038f981df4d..8b306d3906b2dda3aa8ff3138975820faf32d0b0 100644 (file)
@@ -98,7 +98,7 @@ def _list_of_tuples_to_dict(fs):
 
 def _already_migrated(data):
     try:
-        if data.get('version'):
+        if data.get('version')==1:
             return True
     except AttributeError:
         return False