Skip to content

Commit

Permalink
Update to log
Browse files Browse the repository at this point in the history
  • Loading branch information
Javagedes committed Jan 16, 2024
1 parent cb4cb4a commit 80207cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion edk2toollib/database/tables/instanced_inf_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ def _insert_db_rows(self, session: Session, env_id, inf_entries) -> int:
all_sources = {source.path: source for source in session.query(Source).all()}
all_packages = {package.name: package for package in session.query(Package).all()}
all_repos = {(repo.name, repo.path): repo for repo in session.query(Repository).filter(Repository.path is not None).all()}
local_repo = session.query(Repository).filter(Repository.path is None).first()
local_repo = session.query(Repository).filter_by(path = None).first()
if local_repo is None:
logging.error("Could not find local repo??")
for e in inf_entries:
# Could parse a Windows INF file, which is not a EDKII INF file
# and won't have a guid. GUIDS are required for INFs so we can
Expand Down

0 comments on commit 80207cf

Please sign in to comment.