--- a/web/hgbook/comments/views.py Mon Jan 25 18:56:45 2010 +0530
+++ b/web/hgbook/comments/views.py Fri Feb 05 23:42:24 2010 +0530
@@ -10,7 +10,7 @@
from p_list import *
from BeautifulSoup import BeautifulSoup
import glob
-html_folder='/home/amit/hgbook-alqua/web/html/'
+html_folder='/home/amit/SEES-hacks/web/html/'
def sort_dict(dict):
new_dict = {}
@@ -49,7 +49,9 @@
def index(request):
html_files = glob.glob(html_folder+'ch*.html')
-# print >> sys.stderr , html_files
+ print >> sys.stderr ,html_files
+ print >> sys.stderr ,"just checking whether i got here"
+ print >> sys.stderr , html_files
html_files.sort()
link_list=['/review/html/'+a.split('/')[-1] for a in html_files]
# print >> sys.stderr , html_files
@@ -63,7 +65,7 @@
title_list.append(title_str)
resp_dict=zip(link_list,title_list)
-
+ print >>sys.stderr ,resp_dict
return render_to_response('index.html', {'resp_dict': resp_dict })