Commit c6559c03 authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

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:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8e7b8776
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:
2010-11-09 Yi Shen <yi.4.shen@nokia.com>
 
Reviewed by Andreas Kling.
......
# Required for Python to search this directory for module files
from webkitpy.tool.commands.download import *
from webkitpy.tool.commands.earlywarningsystem import *
from webkitpy.tool.commands.openbugs import OpenBugs
from webkitpy.tool.commands.prettydiff import PrettyDiff
from webkitpy.tool.commands.queries import *
from webkitpy.tool.commands.queues import *
from webkitpy.tool.commands.rebaseline import Rebaseline
from webkitpy.tool.commands.rebaselineserver import RebaselineServer
# FIXME: Add the rest of the commands here.
from webkitpy.tool.commands.sheriffbot import *
from webkitpy.tool.commands.upload import *
......@@ -29,8 +29,6 @@
import os
from optparse import make_option
import webkitpy.tool.steps as steps
from webkitpy.common.checkout.changelog import ChangeLog, view_source_url
......
......@@ -41,12 +41,12 @@ from StringIO import StringIO
from webkitpy.common.net.bugzilla import CommitterValidator, Attachment
from webkitpy.common.net.layouttestresults import path_for_layout_test, LayoutTestResults
from webkitpy.common.net.statusserver import StatusServer
from webkitpy.common.system.executive import ScriptError
from webkitpy.common.system.deprecated_logging import error, log
from webkitpy.tool.commands.stepsequence import StepSequenceErrorHandler
from webkitpy.common.system.executive import ScriptError
from webkitpy.tool.bot.commitqueuetask import CommitQueueTask, CommitQueueTaskDelegate
from webkitpy.tool.bot.feeders import CommitQueueFeeder, EWSFeeder
from webkitpy.tool.bot.queueengine import QueueEngine, QueueEngineDelegate
from webkitpy.tool.commands.stepsequence import StepSequenceErrorHandler
from webkitpy.tool.grammar import pluralize, join_with_separators
from webkitpy.tool.multicommandtool import Command, TryAgain
......
......@@ -29,6 +29,7 @@
#
# A tool for automating dealing with bugzilla, posting patches, committing patches, etc.
from optparse import make_option
import os
import threading
......@@ -38,20 +39,12 @@ from webkitpy.common.config.ports import WebKitPort
from webkitpy.common.net.bugzilla import Bugzilla
from webkitpy.common.net.buildbot import BuildBot
from webkitpy.common.net.irc.ircproxy import IRCProxy
from webkitpy.common.net.statusserver import StatusServer
from webkitpy.common.system.executive import Executive
from webkitpy.common.system.user import User
from webkitpy.layout_tests import port
import webkitpy.tool.commands as commands
# FIXME: Remove these imports once all the commands are in the root of the
# command package.
from webkitpy.tool.commands.download import *
from webkitpy.tool.commands.earlywarningsystem import *
from webkitpy.tool.commands.openbugs import OpenBugs
from webkitpy.tool.commands.queries import *
from webkitpy.tool.commands.queues import *
from webkitpy.tool.commands.sheriffbot import *
from webkitpy.tool.commands.upload import *
from webkitpy.tool.multicommandtool import MultiCommandTool
import webkitpy.tool.commands as commands
class WebKitPatch(MultiCommandTool):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment