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

Unified Diff: Tools/Scripts/webkitpy/thirdparty/unittest2/main.py

Issue 20652002: Fix trailing whitespace in scripts and misc. files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Don't change literal diff. Created 7 years, 5 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
Index: Tools/Scripts/webkitpy/thirdparty/unittest2/main.py
diff --git a/Tools/Scripts/webkitpy/thirdparty/unittest2/main.py b/Tools/Scripts/webkitpy/thirdparty/unittest2/main.py
index 9db1d307bf523435d08d3d1a96dbb7af80424ee7..5e3cc968e9d9756eaebc8c2375643832471d093d 100644
--- a/Tools/Scripts/webkitpy/thirdparty/unittest2/main.py
+++ b/Tools/Scripts/webkitpy/thirdparty/unittest2/main.py
@@ -68,7 +68,7 @@ class TestProgram(object):
for making test modules conveniently executable.
"""
USAGE = USAGE_FROM_MODULE
-
+
# defaults for testing
failfast = catchbreak = buffer = progName = None
@@ -170,15 +170,15 @@ class TestProgram(object):
help='Verbose output', action='store_true')
if self.failfast != False:
parser.add_option('-f', '--failfast', dest='failfast', default=False,
- help='Stop on first fail or error',
+ help='Stop on first fail or error',
action='store_true')
if self.catchbreak != False and installHandler is not None:
parser.add_option('-c', '--catch', dest='catchbreak', default=False,
- help='Catch ctrl-C and display results so far',
+ help='Catch ctrl-C and display results so far',
action='store_true')
if self.buffer != False:
parser.add_option('-b', '--buffer', dest='buffer', default=False,
- help='Buffer stdout and stderr during tests',
+ help='Buffer stdout and stderr during tests',
action='store_true')
parser.add_option('-s', '--start-directory', dest='start', default='.',
help="Directory to start discovery ('.' default)")
@@ -193,7 +193,7 @@ class TestProgram(object):
for name, value in zip(('start', 'pattern', 'top'), args):
setattr(options, name, value)
-
+
# only set options from the parsing here
# if they weren't set explicitly in the constructor
if self.failfast is None:
@@ -202,7 +202,7 @@ class TestProgram(object):
self.catchbreak = options.catchbreak
if self.buffer is None:
self.buffer = options.buffer
-
+
if options.verbose:
self.verbosity = 2
« no previous file with comments | « Tools/Scripts/webkitpy/thirdparty/unittest2/loader.py ('k') | Tools/Scripts/webkitpy/thirdparty/unittest2/result.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698