cleaner web cache code

This commit is contained in:
Anand Doshi
2012-07-12 18:41:12 +05:30
parent 8790188fc8
commit 51146c07c3
50 changed files with 442 additions and 1129 deletions

View File

@@ -27,8 +27,12 @@ sys.path.append('../lib/py')
import webnotes
import webnotes.auth
import conf
sys.path.append(conf.modules_path)
if __name__=='__main__':
webnotes.http_request = webnotes.auth.HTTPRequest()
# webnotes.http_request = webnotes.auth.HTTPRequest()
webnotes.connect()
from webnotes.cms import feed
try:
print 'Content-Type: text/xml'