[javascriptlint-commit] SF.net SVN: javascriptlint: [163] trunk/jsl.py
Status: Beta
Brought to you by:
matthiasmiller
|
From: <mat...@us...> - 2008-03-04 03:40:13
|
Revision: 163
http://javascriptlint.svn.sourceforge.net/javascriptlint/?rev=163&view=rev
Author: matthiasmiller
Date: 2008-03-03 19:37:22 -0800 (Mon, 03 Mar 2008)
Log Message:
-----------
fix pyjsl.jsparse imports
Modified Paths:
--------------
trunk/jsl.py
Modified: trunk/jsl.py
===================================================================
--- trunk/jsl.py 2008-03-04 03:10:46 UTC (rev 162)
+++ trunk/jsl.py 2008-03-04 03:37:22 UTC (rev 163)
@@ -14,7 +14,7 @@
sys.path.append(setup.get_lib_path())
import pyjsl.conf
-import pyjsl.parse
+import pyjsl.jsparse
import pyjsl.util
import test
@@ -52,7 +52,7 @@
def _dump(paths):
for path in paths:
script = pyjsl.util.readfile(path)
- pyjsl.parse.dump_tree(script)
+ pyjsl.jsparse.dump_tree(script)
def _lint(paths, conf):
def lint_error(path, line, col, errname):
@@ -124,7 +124,7 @@
if opt in ('-t', '--test'):
profile_func(run_tests)
if opt in ('--unittest',):
- unittest.main(pyjsl.parse, argv=sys.argv[:1])
+ unittest.main(pyjsl.jsparse, argv=sys.argv[:1])
if opt in ('--profile',):
profile_func = profile_enabled
if opt in ('--conf',):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|