Skip to content
  • cjerdonek@webkit.org's avatar
    The webkit-patch script now displays a warning if run using · a9c26257
    cjerdonek@webkit.org authored
    a version of Python less than 2.5.  This will help users
    understand why webkit-patch is erroring out if they are
    using Python 2.4, for example.
    
    Reviewed by Adam Barth.
    
    https://bugs.webkit.org/show_bug.cgi?id=31533
    
    * Scripts/webkit-patch:
      - Moved most of the file contents to webkitpy/patch/patcher.py
        so the Python version can be checked before interpreting
        any code that can cause the script to error out.
      - Added a configure_logging() method to enable any version
        warnings to show up.
      - Added a main() method with calls to configure_logging(),
        check_version(), and the main webkit patch method.
    
    * Scripts/webkitpy/patch/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py.
      - This file is required to make a folder a package.
    
    * Scripts/webkitpy/patch/patcher.py: Added.
      - Moved code from Scripts/webkit-patch.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a9c26257