web_server: Remove print statements

These have been commented out in case I need them later.
This commit is contained in:
Bryan Schumaker 2011-01-21 23:14:34 -05:00
parent 47f33a3f8f
commit 44fee8c8b3

View File

@ -52,7 +52,7 @@ class HTTPRequest(BaseHTTPRequestHandler):
def do_GET(self):
try:
fpath, args = format_path(self.path)
print fpath
#print fpath
base, ext = splitext(fpath)
if ext == ".py":
self.py_file(args, fpath, base)
@ -101,7 +101,7 @@ class HTTPRequest(BaseHTTPRequestHandler):
if not exists(path):
raise IOError
try:
print "Opening: %s" % path
#print "Opening: %s" % path
f = open(path)
self.res_ok(ext)
self.wfile.write(f.read())