Summary: | [ews-build] Improve summary for CheckOutSource step | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Aakash Jain <aakash_jain> | ||||
Component: | Tools / Tests | Assignee: | Aakash Jain <aakash_jain> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | aakash_jain, ap, dewei_zhu, ews-watchlist, jbedard, lforschler, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Other | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Aakash Jain
2019-03-19 14:43:18 PDT
Created attachment 365229 [details]
Patch
Attachment 365229 [details] did not pass style-queue:
ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:100: [CheckOutSource.getResultSummary] Instance of 'CheckOutSource' has no 'results' member [pylint/E1101] [5]
Total errors found: 1 in 2 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 365229 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=365229&action=review > Tools/BuildSlaveSupport/ews-build/steps.py:103 > + I think you should not abbreviate summary as 'summ'. it only saves a couple chars, so just use stepsummary or step_summary. or, just 'summary' this could also be written: if self.results != SUCCESS: return {u'step': u'Failed to updated working directory'} else: return {u'step': u'Cleaned and updated working directory' } which avoids the variable name altogether. Committed r243174: <https://trac.webkit.org/changeset/243174> > this could also be written:
Thanks. used this.
|