summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarek Ziade <tarek@ziade.org>2017-04-19 20:58:53 +0200
committerTarek Ziade <tarek@ziade.org>2017-04-19 20:58:53 +0200
commit03900992dab10742bdd6b296a3a216ade0298561 (patch)
tree591c17cba115d9a40c555355eb09b2ba8ed0dc14
parent3d8857fc16f4630437a149300ff485351c5f1071 (diff)
split on os.pathsep
-rw-r--r--chaussette/server.py4
-rw-r--r--tox.ini2
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 =