[Webkit-unassigned] [Bug 32073] We have two mark-fixed commands

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 2 11:11:16 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32073





--- Comment #4 from Eric Seidel <eric at webkit.org>  2009-12-02 11:11:16 PST ---
We can make it easy to make any Command object into an individual script.

Something like this:

mark-as-fixed
#!/bin/python

from modules.commands.mark_as_fixed import MarkAsFixed

if __name__ == "__main__":
    MarkAsFixed().check_arguments_and_execute(sys.argv, None)

That won't work out of the box yet, because Commands don't deal well with tool
being None, but that can easily be fixed.  We'd probably want to call some
special run_as_stand_alone_command(sys.argv) call instead of
check_arguments_and_execute directly anyway.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list