X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=rwlaunchpad%2Fplugins%2Frwlaunchpadtasklet%2Frift%2Fpackage%2Fstore.py;h=9ebd03c824351e479c473797abcc955ff997f6e4;hb=57c99722a731df6c9541423ff7a1f05b0fe18c86;hp=34fff1cde45ce3f84d50d4fc3490d56757758b06;hpb=411ef48f19a20a7a15d29c391c23a3bf6042e000;p=osm%2FSO.git diff --git a/rwlaunchpad/plugins/rwlaunchpadtasklet/rift/package/store.py b/rwlaunchpad/plugins/rwlaunchpadtasklet/rift/package/store.py index 34fff1cd..9ebd03c8 100644 --- a/rwlaunchpad/plugins/rwlaunchpadtasklet/rift/package/store.py +++ b/rwlaunchpad/plugins/rwlaunchpadtasklet/rift/package/store.py @@ -110,6 +110,8 @@ class PackageFilesystemStore(object): Raises: PackageStoreError- The package could not be retrieved """ + self.refresh() + if package_id not in self._package_dirs: msg = "Package %s not found in %s" % (package_id, self._root_dir) raise PackageNotFoundError(msg)