[lfs] Ensure EGL manifests are loaded when trying to delete

This commit is contained in:
derrod 2020-06-01 20:42:09 +02:00
parent 818ac59872
commit dfa830a7f8

View file

@ -73,6 +73,8 @@ class EPCLFS:
json.dump(manifest_data, f, indent=4, sort_keys=True)
def delete_manifest(self, app_name):
if not self.manifests:
self.read_manifests()
if app_name not in self.manifests:
raise ValueError('AppName is not in manifests!')