forked from LBRYCommunity/lbry-sdk
comment out migrate0to1 import
This commit is contained in:
parent
0203ef66ea
commit
aaf59218da
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue