From a33f6ea602b1c37229e736f131bfffbcefc9660d Mon Sep 17 00:00:00 2001 From: Mark Lee Date: Sun, 12 Jul 2015 18:13:17 -0700 Subject: [PATCH] Clarify pythonpath setting description Show that setting multiple paths requires using a comma-separated list. --- docs/source/settings.rst | 4 ++-- gunicorn/config.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/settings.rst b/docs/source/settings.rst index d44c73490..a89fe96da 100644 --- a/docs/source/settings.rst +++ b/docs/source/settings.rst @@ -670,10 +670,10 @@ pythonpath * ``--pythonpath STRING`` * ``None`` -A directory to add to the Python path. +A comma-separated list of directories to add to the Python path. e.g. -'/home/djangoprojects/myproject'. +'/home/djangoprojects/myproject,/home/python/mylibrary'. paste ~~~~~ diff --git a/gunicorn/config.py b/gunicorn/config.py index e735d1044..eebd38998 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -1308,10 +1308,10 @@ class PythonPath(Setting): validator = validate_string default = None desc = """\ - A directory to add to the Python path. + A comma-separated list of directories to add to the Python path. e.g. - '/home/djangoprojects/myproject'. + '/home/djangoprojects/myproject,/home/python/mylibrary'. """