From 1e234e34e29e2765eaccfb6aae3a104c1b12a165 Mon Sep 17 00:00:00 2001
From: sponge <sponge@mail.i2p>
Date: Fri, 14 Sep 2012 03:12:03 +0000
Subject: [PATCH] Debugging for meeh

---
 netdb.i2p2/fixedapp.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/netdb.i2p2/fixedapp.py b/netdb.i2p2/fixedapp.py
index fc93c889a..cc491aef7 100644
--- a/netdb.i2p2/fixedapp.py
+++ b/netdb.i2p2/fixedapp.py
@@ -190,13 +190,14 @@ def application(environ, start_response):
             #
             # zap badness from path
             #
-            print "path given is" + path
+            #print "path given is " + repr(path)
+
             chkpath = path.replace("'","").replace("/","")
             # check to see if we have this entry in the database at all.
             cur.execute("select * from entry where wht = ?",  chkpath)
             chk = cur.fetchall()
             if len(chk) == 0:
-                resp = Response("Do you not have anything better to do?", status=400, mimetype='text/plain')
+                resp = Response("Do you not have anything better to do?\nRequested file "+repr(path)+"\nchk "+repr(chkpath)+"\n", status=400, mimetype='text/plain')
             else:
                 try:
                     # load file
-- 
GitLab