comment out migrate0to1 import

This commit is contained in:
Jack 2016-08-31 20:41:29 -04:00
parent 0203ef66ea
commit aaf59218da

View file

@ -5,13 +5,13 @@ import os
def migrate_db(db_dir, start, end): def migrate_db(db_dir, start, end):
current = start current = start
old_dirs = [] old_dirs = []
if os.name == "nt": # if os.name == "nt":
return old_dirs # return old_dirs
while current < end: # while current < end:
if current == 0: # if current == 0:
from lbrynet.db_migrator.migrate0to1 import do_migration # from lbrynet.db_migrator.migrate0to1 import do_migration
old_dirs.append(do_migration(db_dir)) # old_dirs.append(do_migration(db_dir))
current += 1 # current += 1
return old_dirs return old_dirs