From 64272ec221702c33c4f80b8a3daeefa8c3ca648e Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Fri, 14 Dec 2012 13:50:38 -0600 Subject: testsuite: fixed sys.path in pylint tests --- testsuite/Testsrc/test_code_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/Testsrc/test_code_checks.py') diff --git a/testsuite/Testsrc/test_code_checks.py b/testsuite/Testsrc/test_code_checks.py index 1fac15b69..ded9cd8e3 100644 --- a/testsuite/Testsrc/test_code_checks.py +++ b/testsuite/Testsrc/test_code_checks.py @@ -142,7 +142,7 @@ def blacklist_filter(filelist, blacklist): class TestPylint(Bcfg2TestCase): pylint_cmd = ["pylint", "--rcfile", rcfile, "--init-hook", - "import sys;sys.path.extend('%s')" % + "import sys;sys.path.append('%s')" % os.path.join(srcpath, "lib")] # regex to find errors and fatal errors -- cgit v1.2.3-1-g7c22