Changeset 53063 in webkit
- Timestamp:
- Jan 10, 2010 9:11:21 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r53060 r53063 1 2010-01-10 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 Let webkit-patch work with options in $EDITOR 6 https://bugs.webkit.org/show_bug.cgi?id=33414 7 8 The $EDITOR evironment variable might have command line options like 9 bbedit -w. This patch lets us run those $EDITORs. 10 11 * Scripts/webkitpy/user.py: 12 1 13 2010-01-10 Robert Hogan <robert@roberthogan.net> 2 14 -
trunk/WebKitTools/Scripts/webkitpy/user.py
r52715 r53063 28 28 29 29 import os 30 import shlex 30 31 import subprocess 31 32 import webbrowser … … 37 38 def edit(self, files): 38 39 editor = os.environ.get("EDITOR") or "vi" 39 subprocess.call([editor] + files) 40 args = shlex.split(editor) 41 subprocess.call(args + files) 40 42 41 43 def page(self, message):
Note: See TracChangeset
for help on using the changeset viewer.