From 383f92e54369a47a96afb3467c680f870df700a1 Mon Sep 17 00:00:00 2001 From: Josh Bell Date: Thu, 14 Feb 2008 21:06:59 +0000 Subject: Simplify dir joining in setup-path Make validate_schemas show best-guess for schema script, to help build engineers --- scripts/setup-path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/setup-path.py') diff --git a/scripts/setup-path.py b/scripts/setup-path.py index 87600e37e0..fcd713c655 100755 --- a/scripts/setup-path.py +++ b/scripts/setup-path.py @@ -37,7 +37,7 @@ from os.path import realpath, dirname, join # Walk back to checkout base directory dir = dirname(dirname(realpath(__file__))) # Walk in to libraries directory -dir = join(join(join(dir, 'indra'), 'lib'), 'python') +dir = join(dir, 'indra', 'lib', 'python') if dir not in sys.path: sys.path.insert(0, dir) -- cgit v1.2.3