Jelajahi Sumber

Bug fix

[SVN r37621]
Aleksey Gurtovoy 19 tahun lalu
induk
melakukan
7586215fe1
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      tools/regression/xsl_reports/boost_wide_report.py

+ 2 - 1
tools/regression/xsl_reports/boost_wide_report.py

@@ -677,7 +677,8 @@ def fix_file_names( dir ):
                 old_file_path = os.path.join( root, file )
                 new_file_path = os.path.join( root, new_name )
                 utils.log( 'Renaming %s to %s' % ( old_file_path, new_file_path ) )
-                os.rename ( old_file_path, new_file_path )
+                os.unlink( new_file_path )
+                os.rename( old_file_path, new_file_path )
 
 
 def build_xsl_reports( 

粤ICP备19079148号