Commit 58e75071 authored by Stefan Behnel's avatar Stefan Behnel

Simplify code

parent afd177da
...@@ -1082,11 +1082,7 @@ def cythonize_one(pyx_file, c_file, fingerprint, quiet, options=None, raise_on_f ...@@ -1082,11 +1082,7 @@ def cythonize_one(pyx_file, c_file, fingerprint, quiet, options=None, raise_on_f
if fingerprint: if fingerprint:
if not os.path.exists(options.cache): if not os.path.exists(options.cache):
try: safe_makedirs(options.cache)
os.mkdir(options.cache)
except:
if not os.path.exists(options.cache):
raise
# Cython-generated c files are highly compressible. # Cython-generated c files are highly compressible.
# (E.g. a compression ratio of about 10 for Sage). # (E.g. a compression ratio of about 10 for Sage).
fingerprint_file = join_path( fingerprint_file = join_path(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment