From 5a392b8d4d1c1125f0f5552f3080becaaa9b1c24 Mon Sep 17 00:00:00 2001 From: John Mandereau Date: Tue, 26 Feb 2008 09:03:22 +0100 Subject: [PATCH] Revert lys-to-tely changes This is not the right way to print base name of files in regtests and other collated-files. This commit reverts 043d8bff2c6ad082edba8a88c678299a7b9a89fd and 85ec5d253ad5468e2d3b30e25599891b175572f3. --- buildscripts/lys-to-tely.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/buildscripts/lys-to-tely.py b/buildscripts/lys-to-tely.py index dfaf671bed..c026522434 100644 --- a/buildscripts/lys-to-tely.py +++ b/buildscripts/lys-to-tely.py @@ -80,14 +80,6 @@ for opt in options: else: raise Exception ('unknown option: ' + o) -def shorten_file_name (n): - # ugh, regtests file names appear as full paths in GUB builds - # we try to do something here - b = os.path.basename (n) - if os.path.exists (b): - return b - return n - def name2line (n): # UGR s = r""" @@ -106,7 +98,6 @@ if files: name = os.path.basename (name) template = template % vars () - files = map (shorten_file_name, files) files.sort () s = "\n".join (map (name2line, files)) s = template.replace (include_snippets, s, 1) -- 2.39.5