Working on #6. I think I should break out the puppet module stuff into a

separate issue, since that risks really putting this all off target.
This commit is contained in:
2013-10-19 22:28:46 -04:00
parent 86e8db6c43
commit dbf64e8035
19 changed files with 517 additions and 16 deletions

14
scripts/mercy.wsgi Normal file
View File

@@ -0,0 +1,14 @@
from mercy.MercyApplication import MercyApplication
class ScriptNameStripper(object):
def __init__(self, app):
self.app = app
def __call_(self, environ, start_response):
environ['SCRIPT_NAME'] = ''
return self.app(environ, start_response)
app = ScriptNameStripper(MercyApplication())
if __name__ == "__main__":
app.run()