From 03900992dab10742bdd6b296a3a216ade0298561 Mon Sep 17 00:00:00 2001 From: Tarek Ziade Date: Wed, 19 Apr 2017 20:58:53 +0200 Subject: split on os.pathsep --- chaussette/server.py | 4 +++- tox.ini | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/chaussette/server.py b/chaussette/server.py index f1c13e3..c33c90f 100644 --- a/chaussette/server.py +++ b/chaussette/server.py @@ -157,7 +157,9 @@ def main(): help="log output") args = parser.parse_args() - sys.path.append(args.python_path) + if args.python_path is not None: + for path in args.python_path.split(os.pathsep): + sys.path.append(path) if is_gevent_backend(args.backend) and not args.no_monkey: from gevent import monkey diff --git a/tox.ini b/tox.ini index a2cf77e..9c7fca5 100644 --- a/tox.ini +++ b/tox.ini @@ -40,7 +40,7 @@ commands = nosetests --randomize -x --with-coverage --cover-package=chaussette chaussette/tests -coverage combine coverage html - coveralls + -coveralls [testenv:py35] deps = -- cgit v1.2.3