From 414b5fe45936d26159a2149a5cd6112e4c88c87e Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Wed, 31 Aug 2011 13:13:50 +0400 Subject: [PATCH] Discard show target of the symlink is created by template. --- pym/cl_template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/cl_template.py b/pym/cl_template.py index b06ddee..dbf39cd 100644 --- a/pym/cl_template.py +++ b/pym/cl_template.py @@ -4773,9 +4773,9 @@ variable 'cl_name'")) preReturn(pathProg) return ([], False) if not "/" == pathOldFile[0]: - applyFiles = [prevOldFile,os.path.join(pathLink,pathOldFile)] + applyFiles = [prevOldFile]#,os.path.join(pathLink,pathOldFile)] else: - applyFiles = [prevOldFile,pathOldFile] + applyFiles = [prevOldFile]#,pathOldFile] try: os.symlink(pathOldFile, prevOldFile) except: