changeset 8607:291f04a72288

docs: drop changing cwd in WSGI wrapper script It was introduced in 5a31d387f347 and has never been in the virtualenv version of the WSGI script, which "proves" it really is unnecessary.
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 13 Aug 2020 15:30:09 +0200
parents 71bdbf129190
children fc54d9d65006
files docs/setup.rst
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/docs/setup.rst	Thu Aug 13 15:30:09 2020 +0200
+++ b/docs/setup.rst	Thu Aug 13 15:30:09 2020 +0200
@@ -608,11 +608,6 @@
 
   .. code-block:: python
 
-      import os
-
-      # sometimes it's needed to set the current dir
-      os.chdir('/srv/kallithea/')
-
       import site
       site.addsitedir("/srv/kallithea/venv/lib/python3.7/site-packages")