Merge "First system load-delete failed after upgrade SX"

This commit is contained in:
Zuul 2021-08-17 19:50:29 +00:00 committed by Gerrit Code Review
commit 70fd441711
1 changed files with 1 additions and 1 deletions

View File

@ -1652,7 +1652,7 @@ class PatchController(PatchService):
del repo_dir[release]
if self.base_pkgdata is not None:
if self.base_pkgdata is not None and release in self.base_pkgdata.pkgs:
del self.base_pkgdata.pkgs[release]
# Refresh patch data