Remove now-unused isInt code
parent
0d62a7625b
commit
aa9143302b
|
@ -15,15 +15,6 @@ import wsgiref.handlers
|
||||||
PORT = int(os.getenv('PORT', 8080))
|
PORT = int(os.getenv('PORT', 8080))
|
||||||
|
|
||||||
|
|
||||||
def isInt(string):
|
|
||||||
try:
|
|
||||||
int(string)
|
|
||||||
return True
|
|
||||||
|
|
||||||
except ValueError:
|
|
||||||
return False
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
if 'REQUEST_URI' in os.environ:
|
if 'REQUEST_URI' in os.environ:
|
||||||
# mod_cgi (w/o file handler)
|
# mod_cgi (w/o file handler)
|
||||||
|
|
Loading…
Reference in New Issue