This is fallout from the svn -> git migration, as git does not support
empty directories.
def _get_store(self):
if self.store is not None:
return self.store
- db_path = os.path.join(self.path, "db", "hostdb.sqlite")
+ db_dir_path = os.path.join(self.path, "db")
+ os.mkdir(db_dir_path)
+ db_path = os.path.join(db_dir_path, "hostdb.sqlite")
db = create_database("sqlite:%s?timeout=%f" % (db_path, self.timeout))
self.store = Store(db)
setup_schema(self.store)