[Webkit-unassigned] [Bug 38957] scm.py should use self.run instead of run_command
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 11 20:23:26 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=38957
Eric Seidel <eric at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #55784|review? |review+, commit-queue-
Flag| |
--- Comment #2 from Eric Seidel <eric at webkit.org> 2010-05-11 20:23:26 PST ---
(From update of attachment 55784)
WebKitTools/Scripts/webkitpy/common/checkout/scm.py:103
+ def run(self, args, cwd=None, input=None, error_handler=None, return_exit_code=False, return_stderr=True, decode_output=True):
Do you just want **kwargs? Or do you want to manage the default values explicitly?
WebKitTools/Scripts/webkitpy/common/checkout/scm.py:105
+ # FIXME: We should use Executive.
Why not just use Executive() now anyway? No need to add more clients to the raw version, then we have less to import to this file anyway. :)
WebKitTools/Scripts/webkitpy/common/checkout/scm.py:105
+ # FIXME: We should use Executive.
By use Executive() i mean just create one here locally, even if it's not stored on self. yet.
WebKitTools/Scripts/webkitpy/common/checkout/scm.py:130
+ print self.run(self.status_command(), error_handler=Executive.ignore_error)
Since you're not using **kwargs, and instead specifying all the defaults, it's more difficult for me to tell if you've changed behavior here.
r=me assuming your intent was not to change behavior. Please consider the above comments.
--
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