[Webkit-unassigned] [Bug 171439] New: Use PEP8 style guide for raising exceptions in webkitpy.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 28 11:05:59 PDT 2017


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

            Bug ID: 171439
           Summary: Use PEP8 style guide for raising exceptions in
                    webkitpy.
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aakash_jain at apple.com
                CC: lforschler at apple.com

As per https://www.python.org/dev/peps/pep-0008/
"When raising an exception in Python 2, use raise ValueError('message') instead of the older form raise ValueError, 'message'"

in webkitpy we are still using older folrm to raise exception. We should switch to new form.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170428/72fc819d/attachment.html>


More information about the webkit-unassigned mailing list