From 5a4632015ebda9276e064eb4c1521d20eaf09d0e Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Tue, 6 Oct 2020 12:18:46 -0500 Subject: [PATCH] Remove unneeded variable --- src/pyhf/contrib/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pyhf/contrib/utils.py b/src/pyhf/contrib/utils.py index 0aa50f0ede..fca170643a 100644 --- a/src/pyhf/contrib/utils.py +++ b/src/pyhf/contrib/utils.py @@ -59,9 +59,8 @@ def download(archive_url, output_directory, force=False, compress=False): except ModuleNotFoundError as excep: - exception_info = ( + log.error( str(excep) + "\nInstallation of the contrib extra is required to use pyhf.contrib.utils.download" + "\nPlease install with: python -m pip install pyhf[contrib]\n" ) - log.error(exception_info)