Changeset 53730 in webkit


Ignore:
Timestamp:
Jan 22, 2010 3:58:44 PM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-01-22 Petri Latvala <petri.latvala@nomovok.com>

Reviewed by David Levin.

check-webkit-style breaks on files with unknown types
https://bugs.webkit.org/show_bug.cgi?id=34001

For files with type FileType.NONE, dispatch_processor returns None.

  • Scripts/webkitpy/style/checker.py: Don't call process_file with a processor of value None.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r53729 r53730  
     12010-01-22  Petri Latvala  <petri.latvala@nomovok.com>
     2
     3        Reviewed by David Levin.
     4
     5        check-webkit-style breaks on files with unknown types
     6        https://bugs.webkit.org/show_bug.cgi?id=34001
     7
     8        For files with type FileType.NONE, dispatch_processor returns None.
     9
     10        * Scripts/webkitpy/style/checker.py: Don't call process_file with a processor of value None.
     11
    1122010-01-22  Adam Barth  <abarth@webkit.org>
    213
  • trunk/WebKitTools/Scripts/webkitpy/style/checker.py

    r53715 r53730  
    881881                                                  handle_style_error,
    882882                                                  verbosity)
     883        if processor is None:
     884            return
     885
    883886        process_file(processor, file_path, handle_style_error)
    884887
Note: See TracChangeset for help on using the changeset viewer.