Exemplo n.º 1
0
 def CheckSupportStatus(self, support_log_path): #{
   if (None != self.status): #{
     return
   #} end if
   DebugMsg(self, "Checking support status...")
   tail_cmd = "tail -n1 %s" % support_log_path
   output = CleanLine(RunCommandFromString(tail_cmd, stdout=STRING_OUT,
     dpt=self.options.dpt)[0])
   #DebugMsg(self, "STATUS: \"%s\"" % output)
   if ("complete" == output.lower()): #{
     self.status = "complete"
   else:
     self.status = "in progress"