Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f3d7aa
)
python: Added .wsgi3 as a standard extension for ashd.wsgidir.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 2 Dec 2011 07:26:02 +0000
(08:26 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 2 Dec 2011 07:26:02 +0000
(08:26 +0100)
python3/ashd/wsgidir.py
patch
|
blob
|
blame
|
history
diff --git
a/python3/ashd/wsgidir.py
b/python3/ashd/wsgidir.py
index
f101117
..
cc17b9b
100644
(file)
--- a/
python3/ashd/wsgidir.py
+++ b/
python3/ashd/wsgidir.py
@@
-130,6
+130,7
@@
def chain(env, startreq):
return entry(env, startreq)
return wsgiutil.simpleerror(env, startreq, 500, "Internal Error", "Invalid WSGI handler.")
exts["wsgi"] = chain
+exts["wsgi3"] = chain
def addext(ext, handler):
p = handler.rindex('.')