Don't know if this would make any sense but can you try to put global
myloc in the def application ? My simple example did not work without
the global thing

x = 1
def application(environ, start_response):
    global x
    x = x + 1
    output = str(x)
    start_response('200 OK', [('Content-type', 'text/html'),('Content-
Length', str(len(output)))])
    return [output]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to