From 29329ec113e36c1ba6e984caa72486f6a569a092 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Sat, 23 Jun 2012 02:41:33 -0700 Subject: [PATCH] better ordering of cache files --- 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 5f296e1..067cd0d 100644 --- a/Cython/Build/Dependencies.py +++ b/Cython/Build/Dependencies.py @@ -646,7 +646,7 @@ def cythonize_one(pyx_file, c_file, fingerprint, quiet, options=None): # Cython-generated c files are highly compressible. # (E.g. a compression ratio of about 10 for Sage). fingerprint_file = os.path.join( - options.cache, fingerprint + '-' + os.path.basename(c_file) + '.gz') + options.cache, "%s-%s.gz" % (os.path.basename(c_file), fingerprint) if os.path.exists(fingerprint_file): if not quiet: print("Found compiled %s in cache" % pyx_file) -- 2.7.4