2009-07-03 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Jul 2009 14:20:51 +0000 (14:20 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Jul 2009 14:20:51 +0000 (14:20 +0000)
        Reviewed by Eric Seidel.

        bugzilla-tool forgot how to obsolete patches
        https://bugs.webkit.org/show_bug.cgi?id=26951

        * Scripts/modules/bugzilla.py:

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

WebKitTools/ChangeLog
WebKitTools/Scripts/modules/bugzilla.py

index 2c3078d0b5d89a5409a8906a06917684a89485e7..993113cbe9439604f982382630c7be7969d41e30 100644 (file)
@@ -1,3 +1,12 @@
+2009-07-03  Maciej Stachowiak  <mjs@apple.com>
+
+        Reviewed by Eric Seidel.
+
+        bugzilla-tool forgot how to obsolete patches
+        https://bugs.webkit.org/show_bug.cgi?id=26951
+
+        * Scripts/modules/bugzilla.py:
+
 2009-07-02  Brent Fulgham  <bfulgham@webkit.org>
 
         Unreviewed build fix (Cairo this time) for DumpRenderTree.
index 5414a7c131bfae0b865d18b62414e17e9a529514..f638eae2ef1f2b01e3b28b2b8ea8953013dedf12 100644 (file)
@@ -148,7 +148,7 @@ class Bugzilla:
             attachment['id'] = str(element.find('attachid').string)
             attachment['url'] = self.attachment_url_for_id(attachment['id'])
             attachment['name'] = unicode(element.find('desc').string)
-            attachment['type'] = str(element.find('ctype').string)
+            attachment['type'] = str(element.find('type').string)
 
             review_flag = element.find('flag', attrs={"name" : "review"})
             if review_flag and review_flag['status'] == '+':
@@ -257,7 +257,7 @@ class Bugzilla:
             return
 
         self.browser.open(self.attachment_url_for_id(attachment_id, 'edit'))
-        self.browser.select_form(nr=0)
+        self.browser.select_form(nr=1)
         self.browser.find_control('isobsolete').items[0].selected = True
         # Also clear any review flag (to remove it from review/commit queues)
         self.browser.find_control(type='select', nr=0).value = ("X",)