Changeset 52717 in webkit
- Timestamp:
- Jan 4, 2010 1:33:43 AM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r52716 r52717 1 2010-01-04 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 [bzt] Move AbstractSequencedCommand to a more general location 6 https://bugs.webkit.org/show_bug.cgi?id=33137 7 8 I do what the FIXME tell me to do. 9 10 * Scripts/webkitpy/commands/abstractsequencedcommand.py: Added. 11 * Scripts/webkitpy/commands/download.py: 12 * Scripts/webkitpy/commands/upload.py: 13 1 14 2010-01-04 Adam Barth <abarth@webkit.org> 2 15 -
trunk/WebKitTools/Scripts/webkitpy/commands/download.py
r52714 r52717 1 #!/usr/bin/env python2 1 # Copyright (c) 2009, Google Inc. All rights reserved. 3 2 # Copyright (c) 2009 Apple Inc. All rights reserved. … … 38 37 # We could instead use from modules import buildsteps and then prefix every buildstep with "buildsteps." 39 38 from webkitpy.changelogs import ChangeLog 39 from webkitpy.commands.abstractsequencedcommand import AbstractSequencedCommmand 40 40 from webkitpy.comments import bug_comment_from_commit_text 41 41 from webkitpy.executive import ScriptError … … 44 44 from webkitpy.multicommandtool import AbstractDeclarativeCommmand 45 45 from webkitpy.stepsequence import StepSequence 46 47 48 # FIXME: Move this to a more general location.49 class AbstractSequencedCommmand(AbstractDeclarativeCommmand):50 steps = None51 def __init__(self):52 self._sequence = StepSequence(self.steps)53 AbstractDeclarativeCommmand.__init__(self, self._sequence.options())54 55 def _prepare_state(self, options, args, tool):56 return None57 58 def execute(self, options, args, tool):59 self._sequence.run_and_handle_errors(tool, options, self._prepare_state(options, args, tool))60 46 61 47 -
trunk/WebKitTools/Scripts/webkitpy/commands/upload.py
r52714 r52717 39 39 40 40 from webkitpy.bugzilla import parse_bug_id 41 from webkitpy.commands. download import AbstractSequencedCommmand41 from webkitpy.commands.abstractsequencedcommand import AbstractSequencedCommmand 42 42 from webkitpy.comments import bug_comment_from_svn_revision 43 43 from webkitpy.committers import CommitterList
Note: See TracChangeset
for help on using the changeset viewer.