From db8bd0fb40c17e400b412d056cb5d71b53e18adc Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Thu, 12 Dec 2013 12:36:45 +0100 Subject: [PATCH] [entropy.client.package] multifetch: ensure that path exists before calling _match_checksum --- lib/entropy/client/interfaces/package/actions/multifetch.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/entropy/client/interfaces/package/actions/multifetch.py b/lib/entropy/client/interfaces/package/actions/multifetch.py index 625bbdf84..f46ada9f1 100644 --- a/lib/entropy/client/interfaces/package/actions/multifetch.py +++ b/lib/entropy/client/interfaces/package/actions/multifetch.py @@ -435,6 +435,9 @@ class _PackageMultiFetchAction(_PackageFetchAction): # nothing to check, path already verified return + if not self._stat_path(hook_download_path): + return + verify_st = self._match_checksum( hook_download_path, hook_repository_id,