Testing
authoramit@thunder
Sun, 21 Feb 2010 18:14:33 +0530
changeset 9 ab616eb10878
parent 8 d7db9561766e
child 10 aff1900403ee
Testing
SEESenv/web/hgbook/run.wsgi
SEESenv/web/hgbook/run.wsgi~
--- a/SEESenv/web/hgbook/run.wsgi	Sun Feb 21 18:11:55 2010 +0530
+++ b/SEESenv/web/hgbook/run.wsgi	Sun Feb 21 18:14:33 2010 +0530
@@ -25,6 +25,7 @@
 import os
 import sys
 import django
+print >>sys.stderr , "My Review App running"
 home_dir=os.getenv("HOME")
 if home_dir=='/home/amit':
     sys.path.append('/home/amit/SEES-hacks/SEESenv/web/')
--- a/SEESenv/web/hgbook/run.wsgi~	Sun Feb 21 18:11:55 2010 +0530
+++ b/SEESenv/web/hgbook/run.wsgi~	Sun Feb 21 18:14:33 2010 +0530
@@ -1,5 +1,9 @@
-ALLDIRS = ['/home/amit/SEES-hacks/SEESenv/lib/python2.6/site-packages']
-
+import os
+home_dir=os.getenv("HOME")
+if home_dir=='/home/amit':
+    ALLDIRS = ['/home/amit/SEES-hacks/SEESenv/lib/python2.6/site-packages']
+else:
+    ALLDIRS = ['/home/hg/repos/SEES-hacks/SEESenv/lib/python2.6/site-packages']
 import sys 
 import site