[Webkit-unassigned] [Bug 28367] New: bugzilla.py: replace ScriptError class with BugzillaError class

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 16 15:16:05 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28367

           Summary: bugzilla.py: replace ScriptError class with
                    BugzillaError class
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org
                CC: eric at webkit.org, aroben at apple.com, levin at chromium.org



David Kilzer (ddkilzer) <ddkilzer at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #34938|                            |review?
               Flag|                            |


Created an attachment (id=34938)
 --> (https://bugs.webkit.org/attachment.cgi?id=34938)
Patch v1

Reviewed by NOBODY (OOPS!).

The ScriptError class doesn't exist in bugzilla.py, so any
errors print error messages about ScriptError instead of the
actual error:

NameError: global name 'ScriptError' is not defined

* Scripts/modules/bugzilla.py:
(BugzillaError): Added class.  Modeled after ScriptError class
in scm.py.
(Bugzilla.authenticate): Changed to use BugzillaError instead of
ScriptError.
(Bugzilla._check_create_bug_response): Ditto.
---
 2 files changed, 26 insertions(+), 2 deletions(-)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list