Remove another unnecessary version file

This commit is contained in:
Nick Hall 2016-12-08 21:27:01 +00:00
parent 50bb8ffbbc
commit 83e5bd6be3

View File

@ -50,9 +50,6 @@ class InMemoryDB(DBAPI):
LOG.debug("Write database backend file to 'inmemorydb'") LOG.debug("Write database backend file to 'inmemorydb'")
with open(versionpath, "w") as version_file: with open(versionpath, "w") as version_file:
version_file.write("inmemorydb") version_file.write("inmemorydb")
versionpath = os.path.join(directory, "bdbversion.txt")
with open(versionpath, "w") as version_file:
version_file.write(str(self.VERSION))
def load(self, directory, callback=None, mode=None, def load(self, directory, callback=None, mode=None,
force_schema_upgrade=False, force_schema_upgrade=False,