From 9d537027804f1d22f50fa684cbd1e7fa112acdb0 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Wed, 18 Sep 2013 21:48:27 -0700 Subject: [PATCH] Fix if XML_RESULTS is not set. --- Cython/Build/Dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Build/Dependencies.py b/Cython/Build/Dependencies.py index d37ce6f..ec45a0e 100644 --- a/Cython/Build/Dependencies.py +++ b/Cython/Build/Dependencies.py @@ -797,7 +797,7 @@ def cythonize(module_list, exclude=[], nthreads=0, aliases=None, quiet=False, fo return module_list -if os.environ['XML_RESULTS']: +if os.environ.get('XML_RESULTS'): compile_result_dir = os.environ['XML_RESULTS'] def record_results(func): def with_record(*args): -- 2.7.4