annotate hgwebsite.wsgi @ 401:4d4c4b73808e

Use absolute paths
author David Soria Parra <dsp@php.net>
date Sat, 08 Mar 2014 02:03:33 +0000
parents 20cfd68e9c49
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