Build fix.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Apr 2013 19:17:36 +0000 (19:17 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Apr 2013 19:17:36 +0000 (19:17 +0000)
* QueueStatusServer/model/queues.py:
(Queue.short_name):
(Queue.display_name):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147774 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/QueueStatusServer/model/queues.py

index 4f921d5..c5a170e 100644 (file)
@@ -1,5 +1,13 @@
 2013-04-05  Ryosuke Niwa  <rniwa@webkit.org>
 
+        Build fix.
+
+        * QueueStatusServer/model/queues.py:
+        (Queue.short_name):
+        (Queue.display_name):
+
+2013-04-05  Ryosuke Niwa  <rniwa@webkit.org>
+
         Remove Chromium EWS bots from the queue status server
         https://bugs.webkit.org/show_bug.cgi?id=113988
 
index ef9324f..d350473 100644 (file)
@@ -69,13 +69,13 @@ class Queue(object):
     # For use in status bubbles or table headers
     def short_name(self):
         # HACK: chromium-ews is incorrectly named.
-        short_name = short_name.replace("-ews", "")
+        short_name = self._name.replace("-ews", "")
         short_name = short_name.replace("-queue", "")
         return self._caplitalize_after_dash(short_name.capitalize())
 
     def display_name(self):
         # HACK: chromium-ews is incorrectly named.
-        display_name = display_name.replace("-", " ")
+        display_name = self._name.replace("-", " ")
         display_name = display_name.title()
         display_name = display_name.replace("Ews", "EWS")
         return display_name