Skip to contentSkip to conversation

UploadToasterEventlog.py: show better message when step is skipped

PATCH New Bill Randle 1 participant 1 message Aug 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 UploadToasterEventlog.py: show better message when step is skipped

When the UploadToasterEventlog is skipped it shows the unfriendly message "'echo 'Skipping ...' in the AB status box. Set the description field so it displays a better message.

---
 .../site-packages/autobuilder/buildsteps/UploadToasterEventlog.py        | 1 +
 1 file changed, 1 insertion(+)
lib/python2.7/site-packages/autobuilder/buildsteps/UploadToasterEventlog.py +1 -0
index 0fbb899..4230996 100644
@@ -41,6 +41,7 @@ class UploadToasterEventlog(ShellCommand):
 
         if int(self.layerversion_core) < 5 or self.create_eventlog == "False":
             self.command = "echo 'Skipping Step.'"
+            self.description = ["Uploading toaster data skipped"]
         else:
             if os.environ.get('TOASTER_UPLOAD_URL') is not None:
                 self.filepath = os.path.join(os.path.join(
Signature · 1 line
2.5.5