⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 242966 in webkit


Ignore:
Timestamp:
Mar 14, 2019, 2:44:35 PM (7 years ago)
Author:
aakash_jain@apple.com
Message:

[ews-app] Gracefully handle the case when state_string is None
https://bugs.webkit.org/show_bug.cgi?id=195753

Reviewed by Lucas Forschler.

  • BuildSlaveSupport/ews-app/ews/models/build.py:
  • BuildSlaveSupport/ews-app/ews/models/step.py:
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/ews-app/ews/models/build.py

    r242291 r242966  
    5656            return ERR_UNEXPECTED
    5757
     58        if state_string is None:
     59            state_string = ''
     60
    5861        uid = BuildbotInstance.get_uid(hostname, build_id)
    5962        build = Build.get_existing_build(uid)
  • trunk/Tools/BuildSlaveSupport/ews-app/ews/models/step.py

    r242291 r242966  
    5252            return ERR_UNEXPECTED
    5353
     54        if state_string is None:
     55            state_string = ''
     56
    5457        step_uid = BuildbotInstance.get_uid(hostname, step_id)
    5558        build_uid = BuildbotInstance.get_uid(hostname, build_id)
  • trunk/Tools/ChangeLog

    r242965 r242966  
     12019-03-14  Aakash Jain  <aakash_jain@apple.com>
     2
     3        [ews-app] Gracefully handle the case when state_string is None
     4        https://bugs.webkit.org/show_bug.cgi?id=195753
     5
     6        Reviewed by Lucas Forschler.
     7
     8        * BuildSlaveSupport/ews-app/ews/models/build.py:
     9        * BuildSlaveSupport/ews-app/ews/models/step.py:
     10
    1112019-03-14  Aakash Jain  <aakash_jain@apple.com>
    212
Note: See TracChangeset for help on using the changeset viewer.