Removed a line of code which might cause file access error
authorjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 4 Mar 2008 01:37:31 +0000 (01:37 +0000)
committerjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 4 Mar 2008 01:37:31 +0000 (01:37 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1043 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/Common/Misc.py

index ae98c65..8049ad4 100755 (executable)
@@ -190,7 +190,7 @@ def SaveFileOnChange(File, Content, IsBinaryFile=True):
             Fd.close()\r
             return False\r
         Fd.close()\r
-        os.remove(File) # seems creating new file is faster than overwriting old one\r
+        os.remove(File) # seems creating new file is faster than overwriting old one\r
     CreateDirectory(os.path.dirname(File))\r
     Fd = open(File, "w"+BinaryFlag)\r
     Fd.write(Content)\r