]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/gcc/mingw-gcc-build.py
BaseTools: Refactor python raise statement
[mirror_edk2.git] / BaseTools / gcc / mingw-gcc-build.py
index 20984d3ec8785990908aeecbb3cfc1f75707f3b8..1cbf396b7bc7291e769183bf7874be1b6614e7fb 100755 (executable)
@@ -507,8 +507,8 @@ class Builder:
             f = open(logFile, "w")
             f.write(output)
             f.close()
             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
 
         else:
             print('[done]')\r