From: Kevin McCarthy Date: Sat, 10 May 2014 21:36:03 +0000 (-1000) Subject: gotta think of the future X-Git-Tag: v1.0.0~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=6d656717a13a983fca9bfde3513f089d56fb5f24;p=vcrpy.git gotta think of the future --- diff --git a/vcr/migration.py b/vcr/migration.py index 0b36284..8b306d3 100644 --- a/vcr/migration.py +++ b/vcr/migration.py @@ -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