[javascriptlint-commit] SF.net SVN: javascriptlint: [184] trunk/jsl.py
Status: Beta
Brought to you by:
matthiasmiller
From: <mat...@us...> - 2008-03-31 23:47:16
|
Revision: 184 http://javascriptlint.svn.sourceforge.net/javascriptlint/?rev=184&view=rev Author: matthiasmiller Date: 2008-03-31 16:47:13 -0700 (Mon, 31 Mar 2008) Log Message: ----------- Clarify call to unittest.main. Suggested by: Jeff Balogh <its.jeff.balogh at gmail.com> Modified Paths: -------------- trunk/jsl.py Modified: trunk/jsl.py =================================================================== --- trunk/jsl.py 2008-03-31 21:56:57 UTC (rev 183) +++ trunk/jsl.py 2008-03-31 23:47:13 UTC (rev 184) @@ -123,7 +123,7 @@ profile_func = profile_enabled if options.unittest: - unittest.main(pyjsl.jsparse, argv=sys.argv[:1]) + unittest.main(pyjsl.jsparse, argv=[sys.argv[0]]) if options.test: profile_func(run_tests) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |