repo.or.cz
/
lightydir.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[project @ sridhar.ratna@gmail.com-20070903202953-xtz7j8qq4y8qdd0a]
[lightydir.git]
/
do.cgi
blob
6fe2eaff9634e41ca64890c8d20e84edcffac5d3
1
#!/usr/bin/python -OO
2
3
import
os
4
import
web
5
import
lightydir
6
7
# get over web.py's naive request processing
8
# .. that leads to unexpected behavior
9
os
.
environ
[
'SCRIPT_NAME'
] =
os
.
environ
[
'REQUEST_URI'
]
10
11
web
.
run
(
lightydir
.
urls
,
lightydir
.__
dict
__
,
web
.
reloader
)