SEESenv/web/hgbook/run.wsgi~
changeset 16 2e3d2cadbcb6
parent 11 a7bd4bca6f6e
child 18 9162df2ef805
--- a/SEESenv/web/hgbook/run.wsgi~	Mon Feb 22 16:22:32 2010 +0530
+++ b/SEESenv/web/hgbook/run.wsgi~	Mon Feb 22 17:09:17 2010 +0530
@@ -30,7 +30,9 @@
 print >>sys.stderr , "My Review App running"
 
 home_dir=os.getenv("HOME")
-if home_dir=='/home/amit':
+print >>sys.stderr,"my home",
+print >>sys.stderr,home_dir 
+if home_dir=='/home/amit' or home_dir==None:
     sys.path.append('/home/amit/SEES-hacks/SEESenv/web/')
     sys.path.append('/home/amit/SEES-hacks/SEESenv/web/hgbook/comments')
 else:
@@ -39,6 +41,8 @@
 os.environ['DJANGO_SETTINGS_MODULE'] = 'hgbook.settings'
 import hgbook
 import django.core.handlers.wsgi
+print >> sys.stderr , hgbook
+print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
 application = django.core.handlers.wsgi.WSGIHandler()
 print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
 _application = django.core.handlers.wsgi.WSGIHandler()