From: Robert Bradshaw Date: Thu, 19 Sep 2013 04:48:27 +0000 (-0700) Subject: Fix if XML_RESULTS is not set. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d537027804f1d22f50fa684cbd1e7fa112acdb0;p=platform%2Fupstream%2Fpython-cython.git Fix if XML_RESULTS is not set. --- 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):