RESOLVED FIXED137410
Bugzilla status bubble displays an exception showing attachment 175738 [details]
https://bugs.webkit.org/show_bug.cgi?id=137410
Summary Bugzilla status bubble displays an exception showing attachment 175738
Alexey Proskuryakov
Reported 2014-10-03 15:51:48 PDT
This old attachment has an incorrect status queue log. We should be tolerant of that.
Attachments
proposed fix (3.67 KB, patch)
2014-10-03 15:54 PDT, Alexey Proskuryakov
thorton: review+
Alexey Proskuryakov
Comment 1 2014-10-03 15:54:20 PDT
Created attachment 239247 [details] proposed fix
Tim Horton
Comment 2 2014-10-03 16:33:22 PDT
Comment on attachment 239247 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=239247&action=review > Tools/QueueStatusServer/app.yaml:2 > +version: ap # Bugzilla bug ID of last major change please fix the comment. > Tools/QueueStatusServer/handlers/statusbubble.py:141 > + message_to_display = statuses[1].message if len(statuses) > 1 else statuses[0].message IIRC 'if statuses' is sufficient (an empty list evaluates to false) but this is probably clearer
Alexey Proskuryakov
Comment 3 2014-10-03 16:37:08 PDT
Tim Horton
Comment 4 2014-10-03 16:37:43 PDT
Comment on attachment 239247 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=239247&action=review >> Tools/QueueStatusServer/handlers/statusbubble.py:141 >> + message_to_display = statuses[1].message if len(statuses) > 1 else statuses[0].message > > IIRC 'if statuses' is sufficient (an empty list evaluates to false) but this is probably clearer Nevermind!
Alexey Proskuryakov
Comment 5 2014-10-03 16:49:20 PDT
Actually committed in 174304
Note You need to log in before you can comment on or make changes to this bug.