• cjerdonek@webkit.org's avatar
    Moved all code in webkitpy/__init__.py to another location. · c0032ce1
    cjerdonek@webkit.org authored
    Reviewed by Adam Barth.
    Keeping webkitpy/__init__.py free of non-trivial code allows
    calling code to import initialization code from webkitpy
    before any errors or log messages occur due to code in
    __init__.py.  Such initialization code can include things like
    version checking code and logging configuration code.  This
    also lets us move the autoinstall initialization code to a
    location where it only executes if it is needed -- something
    we have done in this patch.
    * Scripts/webkitpy/__init__.py:
      - Moved all executable code to the following location:
      - Added a code comment to keep this file free of non-trivial
    * Scripts/webkitpy/bugzilla.py:
      - Updated mechanize import statement.
    * Scripts/webkitpy/networktransaction.py:
      - Updated mechanize import statement.
    * Scripts/webkitpy/networktransaction_unittest.py:
      - Updated mechanize import statement.
    * Scripts/webkitpy/statusserver.py:
      - Updated mechanize import statement.
    * Scripts/webkitpy/thirdparty/autoinstalled/__init__.py: Added.
      - Copied the code from webkitpy/__init__.py and updated it
        as necessary.
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
statusserver.py 3.86 KB