X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=unfold%2Fpage.py;h=07879e7b846fb9344865747d8f8773016d785d7e;hb=66e63a3a8dbd1c2a47668b0479ea1ff361269f64;hp=f7f445686a5e12fe4434728f3b03281558d18c64;hpb=fba107aec1c17a089ef4af3ab8d149f36dcac5c2;p=myslice.git diff --git a/unfold/page.py b/unfold/page.py index f7f44568..07879e7b 100644 --- a/unfold/page.py +++ b/unfold/page.py @@ -126,13 +126,9 @@ class Page: if debug: print "Page.get_metadata: return cached value" return manifold['metadata'] - #if 'auth' in session: - #manifold_api_session_auth = session['manifold']['auth'] - #print "get_metadata(), manifold_api_session_auth =", session['manifold']['auth'] - #else: - manifold_api_session_auth = {'AuthMethod': 'password', 'Username': 'demo', 'AuthString':'demo'} + metadata_auth = {'AuthMethod':'anonymous'} - metadata=MetaData (manifold_api_session_auth) + metadata=MetaData (metadata_auth) metadata.fetch() # store it for next time manifold['metadata']=metadata