SEESenv/web/hgbook/run.wsgi~
changeset 9 ab616eb10878
parent 6 1ce9b33fb6ff
child 10 aff1900403ee
--- 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