From 9a8dda821e051a47e20598463995e7b49e1012e1 Mon Sep 17 00:00:00 2001 From: sophia Date: Wed, 16 Nov 2016 13:22:47 -0600 Subject: [PATCH] Fix tests --- conda_build/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conda_build/build.py b/conda_build/build.py index ade1363254..4b0bfb6527 100644 --- a/conda_build/build.py +++ b/conda_build/build.py @@ -273,10 +273,10 @@ def get_files_with_prefix(m, files, prefix): ignore_types = set() if not hasattr(ignore_files, "__iter__"): if ignore_files is True: - ignore_types.update((FileMode.text, FileMode.binary)) + ignore_types.update((FileMode.text.name, FileMode.binary.name)) ignore_files = [] if not m.get_value('build/detect_binary_files_with_prefix', True): - ignore_types.update(('binary',)) + ignore_types.update((FileMode.binary.name,)) # files_with_prefix is a list of tuples containing (prefix_placeholder, file_mode) ignore_files.extend( f[2] for f in files_with_prefix if f[1] in ignore_types and f[2] not in ignore_files)