Changeset - 055091499bf5
[Not reviewed]
0 1 0
Brett Smith (brett) - 2 years ago 2018-11-02 13:38:03
brett@sfconservancy.org
wsgicustom: Import _strptime to avoid race conditions later.

See the linked bug for details.
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
www/wsgicustom.wsgi
Show inline comments
...
 
@@ -3,6 +3,9 @@
 
import os
 
import sys
 

	
 
# Work around <https://bugs.python.org/issue7980>
 
import _strptime
 

	
 
root_dir = os.path.abspath(os.path.dirname(__file__))
 
sys.path.insert(0, root_dir)
 
os.environ['DJANGO_SETTINGS_MODULE'] = 'conservancy.settings'
0 comments (0 inline, 0 general)