annotate hgwebsite.wsgi @ 485:ddff2dfaa572

downloads: update latest python 2.6 compatible release Replace link from 4.2.2 to 4.2.3 after the security exceptional release.
author Boris Feld <boris.feld@octobus.net>
date Mon, 14 Aug 2017 14:12:11 +0200
parents 4d4c4b73808e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
401
4d4c4b73808e Use absolute paths
David Soria Parra <dsp@php.net>
parents: 400
diff changeset
1 import sys, os
4d4c4b73808e Use absolute paths
David Soria Parra <dsp@php.net>
parents: 400
diff changeset
2 sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
400
20cfd68e9c49 Add hgwebsite wsgi handler
David Soria Parra <davidsp@fb.com>
parents:
diff changeset
3 from hgwebsite import app as application