diff --git a/msvc/mpir_config.py b/msvc/mpir_config.py index 246e0bd63..aa7e2fc72 100644 --- a/msvc/mpir_config.py +++ b/msvc/mpir_config.py @@ -29,7 +29,7 @@ def write_f(ipath, opath): if exists(ipath) and not isdir(ipath): if exists(opath) and isfile(opath) and cmp(ipath, opath): return - dp , f = split(opath) + dp, f = split(opath) try: mkdir(dp) except FileExistsError: @@ -75,17 +75,6 @@ def write_f(ipath, opath): 'gmp-mparam', 'tal-debug', 'tal-notreent', 'new_fft', 'new_fft_with_flint', 'compat', 'udiv_w_sdiv') -# copy from file ipath to file opath but avoid copying if -# opath exists and is the same as ipath (this is to avoid -# triggering an unecessary rebuild). - -def write_f(ipath, opath): - if exists(ipath) and not isdir(ipath): - if exists(opath): - if isdir(opath) or cmp(ipath, opath): - return - copy(ipath, opath) - # append a file (ipath) to an existing file (opath) def append_f(ipath, opath):