Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python: Cleaned up a few uglies.
[ashd.git]
/
python3
/
ashd-wsgi3
diff --git
a/python3/ashd-wsgi3
b/python3/ashd-wsgi3
index
2a8815b
..
de6c20e
100755
(executable)
--- a/
python3/ashd-wsgi3
+++ b/
python3/ashd-wsgi3
@@
-1,7
+1,7
@@
#!/usr/bin/python3
#!/usr/bin/python3
-import sys, os, getopt,
threading,
socket, logging, time, locale, collections
-import ashd.
proto, ashd.util, ashd.perf
, ashd.serve
+import sys, os, getopt, socket, logging, time, locale, collections
+import ashd.
util
, ashd.serve
try:
import pdm.srv
except:
try:
import pdm.srv
except:
@@
-25,7
+25,7
@@
for o, a in opts:
elif o == "-A":
modwsgi_compat = True
elif o == "-l":
elif o == "-A":
modwsgi_compat = True
elif o == "-l":
- hspec = "free", {"max":
int(a), "abort": 10
}
+ hspec = "free", {"max":
a, "abort": "10"
}
elif o == "-t":
hspec = ashd.serve.parsehspec(a)
elif o == "-m":
elif o == "-t":
hspec = ashd.serve.parsehspec(a)
elif o == "-m":