X-Git-Url: http://dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=python%2Fashd-wsgi;h=ae08137a1a80fb460dce85d47adbacad526e9e18;hp=422fc9f666048305ad9d00c4d4835f74adbaecae;hb=4e7888f79c780b6d79420374f5ab3843d7784fad;hpb=70d942a7e2c1e7abb4fbddcea5b9c47cf5105590 diff --git a/python/ashd-wsgi b/python/ashd-wsgi index 422fc9f..ae08137 100755 --- a/python/ashd-wsgi +++ b/python/ashd-wsgi @@ -1,7 +1,7 @@ #!/usr/bin/python import sys, os, getopt, threading -import ashd.proto +import ashd.proto, ashd.util def usage(out): out.write("usage: ashd-wsgi [-hA] [-p MODPATH] HANDLER-MODULE [ARGS...]\n") @@ -135,4 +135,4 @@ class reqthread(threading.Thread): def handle(req): reqthread(req).start() -ashd.proto.serveloop(handle) +ashd.util.serveloop(handle)