X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=rwlaunchpad%2Fplugins%2Frwlaunchpadtasklet%2Frift%2Fpackage%2Fstore.py;h=9ebd03c824351e479c473797abcc955ff997f6e4;hb=refs%2Fchanges%2F87%2F1287%2F1;hp=34fff1cde45ce3f84d50d4fc3490d56757758b06;hpb=0f4d8618e4d273cc93848b41fa1492599f038c74;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)