Skip to content

Commit

Permalink
input: do not warn if package cache does not exist
Browse files Browse the repository at this point in the history
This is expected on fresh projects.
  • Loading branch information
jkloetzke committed Sep 6, 2023
1 parent a160bcc commit ae4ea8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pym/bob/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -3796,6 +3796,8 @@ def __generatePackages(self, nameFormatter, cacheKey, sandboxEnabled):
tmp = PackageUnpickler(f, self.getRecipe, self.__plugins,
nameFormatter).load()
return tmp.refDeref([], {}, None, nameFormatter)
except FileNotFoundError:
pass
except Exception as e:
Warn("Could not load package cache: " + str(e)).show(cacheName)

Expand Down

0 comments on commit ae4ea8f

Please sign in to comment.