From: Aaron Klingaman Date: Wed, 1 Jun 2005 19:54:57 +0000 (+0000) Subject: better handle the kexec failure cases by notifying the user of the exact X-Git-Tag: BOOTCD_V_3_1~10 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=3d3501347eac5ca2db4bfd37d0af471984c56b48 better handle the kexec failure cases by notifying the user of the exact problem, and canceling further boot processes --- diff --git a/source/BootManager.py b/source/BootManager.py index 478c714..ea8015a 100755 --- a/source/BootManager.py +++ b/source/BootManager.py @@ -120,16 +120,17 @@ class log: """ upload the contents of the log to the server """ - - self.LogEntry( "Uploading logs to %s" % UPLOAD_LOG_URL ) - - self.OutputFile.close() - self.OutputFile= None - - curl_cmd= "%s -s --connect-timeout 60 --max-time 600 " \ - "--form log=@%s --form ifconfig=\