From 3d7e743be6dfd197e3adb796531b087671f87d7b Mon Sep 17 00:00:00 2001 From: Edward Eigerman Date: Thu, 15 Jan 2015 17:21:56 -0500 Subject: [PATCH] Update updatecheck.py --- code/client/munkilib/updatecheck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/client/munkilib/updatecheck.py b/code/client/munkilib/updatecheck.py index 02e899a6..bf2b5588 100755 --- a/code/client/munkilib/updatecheck.py +++ b/code/client/munkilib/updatecheck.py @@ -2749,7 +2749,7 @@ def download_icons(item_list): xattr_hash = fetch.getxattr(icon_path, XATTR_SHA) if not xattr_hash: xattr_hash = munkicommon.getsha256hash(icon_path) - fetch.writeCachedChecksum(icon_path, xattr_hash) + fetch.writeCachedChecksum(icon_path, XATTR_SHA) else: xattr_hash = 'nonexistent' icon_subdir = os.path.dirname(icon_path) @@ -2772,7 +2772,7 @@ def download_icons(item_list): icon_name, err) else: if os.path.isfile(icon_path): - fetch.writeCachedChecksum(icon_path, xattr_hash) + fetch.writeCachedChecksum(icon_path, XATTR_SHA) # remove no-longer needed icons from the local directory for (dirpath, dummy_dirnames, filenames) in os.walk( icon_dir, topdown=False):