# HG changeset patch # User paulb # Date 1121177570 0 # Node ID 4e2ee4bda011c615ede5f69ee9bf146661b3853f # Parent e937613954b3d95e794cf92973f6a7eb079e1502 [project @ 2005-07-12 14:12:50 by paulb] Fixed the PYTHONPATH separator for Windows and other operating systems. diff -r e937613954b3 -r 4e2ee4bda011 tools/demo.py --- a/tools/demo.py Tue Jul 12 14:12:25 2005 +0000 +++ b/tools/demo.py Tue Jul 12 14:12:50 2005 +0000 @@ -20,7 +20,7 @@ # Set up the environment and run the demo program. -os.environ["PYTHONPATH"] = "%s:%s" % (base, os.path.join(base, "examples", "Common")) +os.environ["PYTHONPATH"] = "%s%s%s" % (base, os.pathsep, os.path.join(base, "examples", "Common")) os.system("%s %s" % (sys.executable, os.path.join(base, "examples", "BaseHTTPRequestHandler", "DemoApp.py"))) # vim: tabstop=4 expandtab shiftwidth=4