فهرست منبع

Adjust to differences in space handling between different xsltproc versions

[SVN r38166]
Aleksey Gurtovoy 19 سال پیش
والد
کامیت
ed26f28b8d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      tools/regression/xsl_reports/utils/libxslt.py

+ 1 - 1
tools/regression/xsl_reports/utils/libxslt.py

@@ -44,6 +44,6 @@ def libxslt( log, xml_file, xsl_file, output_file, parameters = None ):
 
     output_file = xslt_param( output_file, 0 )
     xlst_output_file = xslt_param( output_file )
-    if output_file != xlst_output_file:
+    if output_file != xlst_output_file and os.path.exists( xlst_output_file ):
         utils.rename( log, xlst_output_file, output_file )
 

粤ICP备19079148号