Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: test/same-rule-output-file-name/src/touch.py

Issue 10829252: Fix usage of shlex in unit tests on windows. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/intermediate_dir/src/script.py ('k') | test/same-target-name-different-directory/src/touch.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/same-rule-output-file-name/src/touch.py
===================================================================
--- test/same-rule-output-file-name/src/touch.py (revision 1452)
+++ test/same-rule-output-file-name/src/touch.py (working copy)
@@ -4,12 +4,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import shlex
import sys
-# Trim quotes
-sys.argv[1], = shlex.split(sys.argv[1])
-
f = open(sys.argv[1], 'w+')
f.write('Hello from touch.py\n')
f.close()
« no previous file with comments | « test/intermediate_dir/src/script.py ('k') | test/same-target-name-different-directory/src/touch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698