Summary: | REGRESSION(r58261): webkit-patch upload does not work in an SVN checkout. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Maciej Stachowiak <mjs> | ||||
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | abarth, eric, ojan, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Maciej Stachowiak
2010-04-27 01:57:22 PDT
Created attachment 54400 [details]
Patch
Attachment 54400 [details] did not pass style-queue:
Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1
WebKitTools/Scripts/webkitpy/common/checkout/scm.py:215: deprecated form of raising exception [pep8/W602] [5]
Total errors found: 1 in 3 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 54400 [details]
Patch
r=me
You may want to fix the style complaints before committing.
Committed r58297: <http://trac.webkit.org/changeset/58297> We use this style for "NotImplemented" exceptions because Eric said it integrates with some python tool. I'm not sure if that's something we still care about now that we've adopted PEP8. The tool is pylint. But we don't have to follow it to the letter. WE just have to throw NotImplemented. But we could throw the more supported raise NotImplemented("foo") i think. raise NotImplementedError("foo") rather. We could test this using something like: http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/common/checkout/scm_unittest.py#L159 which just called SVN.should_squash to validate it returned false. |