testing .. I am really confused about how to handle the change of repos from /home/amit to /home/hg
--- a/SEESenv/web/hgbook/run.wsgi Mon Feb 22 18:19:02 2010 +0530
+++ b/SEESenv/web/hgbook/run.wsgi Mon Feb 22 18:22:21 2010 +0530
@@ -30,7 +30,8 @@
print >>sys.stderr , "My Review App running"
home_dir=os.getenv("HOME")
-if home_dir=='/home/amit' or home_dir==None:
+print >> sys.stderr , home_dir
+if home_dir=='/home/amit':
sys.path.append('/home/amit/SEES-hacks/SEESenv/web')
sys.path.append('/home/amit/SEES-hacks/SEESenv/web/hgbook/comments')
else:
--- a/SEESenv/web/hgbook/run.wsgi~ Mon Feb 22 18:19:02 2010 +0530
+++ b/SEESenv/web/hgbook/run.wsgi~ Mon Feb 22 18:22:21 2010 +0530
@@ -30,13 +30,14 @@
print >>sys.stderr , "My Review App running"
home_dir=os.getenv("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:
sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web')
sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web/hgbook/comments')
-print sys.path
+print >> sys.stderr , sys.path
os.environ['DJANGO_SETTINGS_MODULE'] = 'hgbook.settings'
import django.core.handlers.wsgi