]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/gcc/mingw-gcc-build.py
BaseTools: Adjust the spaces around commas and colons
[mirror_edk2.git] / BaseTools / gcc / mingw-gcc-build.py
index 20984d3ec8785990908aeecbb3cfc1f75707f3b8..43f57af9036383026bff42a58c8ed3ac0e965e63 100755 (executable)
@@ -186,7 +186,7 @@ class Config:
         return path
 
     def MakeDirs(self):
-        for path in (self.src_dir, self.build_dir,self.prefix, self.symlinks):
+        for path in (self.src_dir, self.build_dir, self.prefix, self.symlinks):\r
             if not os.path.exists(path):
                 os.makedirs(path)
 
@@ -507,8 +507,8 @@ class Builder:
             f = open(logFile, "w")
             f.write(output)
             f.close()
-            raise Exception, 'Failed to %s %s\n' % (stage, module) + \
-                'See output log at %s' % self.config.Relative(logFile)
+            raise Exception('Failed to %s %s\n' % (stage, module) + \\r
+                'See output log at %s' % self.config.Relative(logFile))\r
         else:
             print('[done]')\r