Testing
authoramit@thunder
Mon, 22 Feb 2010 18:19:02 +0530
changeset 21 5f66214fce86
parent 20 35027af14f21
child 22 a27f1e69d966
Testing
SEESenv/web/hgbook/run.wsgi
SEESenv/web/hgbook/run.wsgi~
--- a/SEESenv/web/hgbook/run.wsgi	Mon Feb 22 18:15:12 2010 +0530
+++ b/SEESenv/web/hgbook/run.wsgi	Mon Feb 22 18:19:02 2010 +0530
@@ -36,10 +36,11 @@
 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.stderr , sys.path
 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
--- a/SEESenv/web/hgbook/run.wsgi~	Mon Feb 22 18:15:12 2010 +0530
+++ b/SEESenv/web/hgbook/run.wsgi~	Mon Feb 22 18:19:02 2010 +0530
@@ -31,15 +31,16 @@
 
 home_dir=os.getenv("HOME")
 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')
     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')
     sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web/hgbook/comments')
+print sys.path
 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