Open and close a new DB right after creation in order to write the DB version
number into it's metadata. svn: r10483
This commit is contained in:
parent
30bf53e831
commit
897a15b6e2
@ -192,6 +192,11 @@ class CLIDbManager:
|
||||
name_file.write(title)
|
||||
name_file.close()
|
||||
|
||||
# open and close the db to write version number in metadata
|
||||
newdb = gen.db.GrampsDBDir()
|
||||
newdb.load(new_path, None)
|
||||
newdb.close()
|
||||
|
||||
self.current_names.append((title, new_path, path_name, _("Never"), 0,
|
||||
False, ""))
|
||||
return new_path, title
|
||||
|
Loading…
Reference in New Issue
Block a user