Changeset 71667 in webkit


Ignore:
Timestamp:
Nov 9, 2010 12:24:12 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2010-11-09 James Kozianski <koz@chromium.org>

Reviewed by Eric Seidel.

Clean up imports for webkit-patch.
https://bugs.webkit.org/show_bug.cgi?id=49083

Move some imports from commands into main.py where they are used.
Move command imports into the init of the commands module.

  • Scripts/webkitpy/tool/commands/init.py:
  • Scripts/webkitpy/tool/commands/download.py:
  • Scripts/webkitpy/tool/commands/queues.py:
  • Scripts/webkitpy/tool/main.py:
Location:
trunk/WebKitTools
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r71649 r71667  
     12010-11-09  James Kozianski  <koz@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Clean up imports for webkit-patch.
     6        https://bugs.webkit.org/show_bug.cgi?id=49083
     7
     8        Move some imports from commands into main.py where they are used.
     9        Move command imports into the __init__ of the commands module.
     10
     11        * Scripts/webkitpy/tool/commands/__init__.py:
     12        * Scripts/webkitpy/tool/commands/download.py:
     13        * Scripts/webkitpy/tool/commands/queues.py:
     14        * Scripts/webkitpy/tool/main.py:
     15
    1162010-11-09  Yi Shen  <yi.4.shen@nokia.com>
    217
  • trunk/WebKitTools/Scripts/webkitpy/tool/commands/__init__.py

    r71369 r71667  
    11# Required for Python to search this directory for module files
    22
     3from webkitpy.tool.commands.download import *
     4from webkitpy.tool.commands.earlywarningsystem import *
     5from webkitpy.tool.commands.openbugs import OpenBugs
    36from webkitpy.tool.commands.prettydiff import PrettyDiff
     7from webkitpy.tool.commands.queries import *
     8from webkitpy.tool.commands.queues import *
    49from webkitpy.tool.commands.rebaseline import Rebaseline
    510from webkitpy.tool.commands.rebaselineserver import RebaselineServer
    6 # FIXME: Add the rest of the commands here.
     11from webkitpy.tool.commands.sheriffbot import *
     12from webkitpy.tool.commands.upload import *
  • trunk/WebKitTools/Scripts/webkitpy/tool/commands/download.py

    r70820 r71667  
    3030import os
    3131
    32 from optparse import make_option
    33 
    3432import webkitpy.tool.steps as steps
    3533
  • trunk/WebKitTools/Scripts/webkitpy/tool/commands/queues.py

    r70570 r71667  
    4242from webkitpy.common.net.layouttestresults import path_for_layout_test, LayoutTestResults
    4343from webkitpy.common.net.statusserver import StatusServer
     44from webkitpy.common.system.deprecated_logging import error, log
    4445from webkitpy.common.system.executive import ScriptError
    45 from webkitpy.common.system.deprecated_logging import error, log
    46 from webkitpy.tool.commands.stepsequence import StepSequenceErrorHandler
    4746from webkitpy.tool.bot.commitqueuetask import CommitQueueTask, CommitQueueTaskDelegate
    4847from webkitpy.tool.bot.feeders import CommitQueueFeeder, EWSFeeder
    4948from webkitpy.tool.bot.queueengine import QueueEngine, QueueEngineDelegate
     49from webkitpy.tool.commands.stepsequence import StepSequenceErrorHandler
    5050from webkitpy.tool.grammar import pluralize, join_with_separators
    5151from webkitpy.tool.multicommandtool import Command, TryAgain
  • trunk/WebKitTools/Scripts/webkitpy/tool/main.py

    r70570 r71667  
    3030# A tool for automating dealing with bugzilla, posting patches, committing patches, etc.
    3131
     32from optparse import make_option
    3233import os
    3334import threading
     
    3940from webkitpy.common.net.buildbot import BuildBot
    4041from webkitpy.common.net.irc.ircproxy import IRCProxy
     42from webkitpy.common.net.statusserver import StatusServer
    4143from webkitpy.common.system.executive import Executive
    4244from webkitpy.common.system.user import User
    4345from webkitpy.layout_tests import port
     46from webkitpy.tool.multicommandtool import MultiCommandTool
    4447import webkitpy.tool.commands as commands
    45 # FIXME: Remove these imports once all the commands are in the root of the
    46 # command package.
    47 from webkitpy.tool.commands.download import *
    48 from webkitpy.tool.commands.earlywarningsystem import *
    49 from webkitpy.tool.commands.openbugs import OpenBugs
    50 from webkitpy.tool.commands.queries import *
    51 from webkitpy.tool.commands.queues import *
    52 from webkitpy.tool.commands.sheriffbot import *
    53 from webkitpy.tool.commands.upload import *
    54 from webkitpy.tool.multicommandtool import MultiCommandTool
    5548
    5649
Note: See TracChangeset for help on using the changeset viewer.