Changeset af3a6d in indico


Ignore:
Timestamp:
03/17/11 17:24:46 (2 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
Children:
5e086e
Parents:
a047ee
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (03/17/11 14:03:57)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (03/17/11 17:24:46)
Message:

[FIX] Use correct kwarg to override cache

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • bin/legacy/createOAIConferenceCache.py

    rbdd862 raf3a6d  
    4747        print i, ":", conf.getId() 
    4848        og = outputGenerator(AccessWrapper()) 
    49         x = og.confToXML(conf,1,1,1, forceCache=True) 
    50         y = og.confToXMLMarc21(conf,1,1,1, forceCache=True) 
     49        x = og.confToXML(conf, 1, 1, 1, overrideCache=True) 
     50        y = og.confToXMLMarc21(conf, 1, 1, 1, overrideCache=True) 
    5151        i += 1 
    5252        DBMgr.getInstance().endRequest() 
  • bin/legacy/createOAIContributionCache.py

    rbdd862 raf3a6d  
    4949            print "conf %d:%s - contrib %d:%s"%(i, conf.getId(), j, cont.getId()) 
    5050            og = outputGenerator(AccessWrapper()) 
    51             x = og.contribToXMLMarc21(cont,1, forceCache=True) 
     51            x = og.contribToXMLMarc21(cont, 1, overrideCache=True) 
    5252            for subCont in cont.getSubContributionList(): 
    5353                print "conf %d:%s - contrib %d:%s - subContrib:%s"%(i, conf.getId(), j, cont.getId(), subCont.getId()) 
    54                 y = og.subContribToXMLMarc21(subCont,1, forceCache=True) 
     54                y = og.subContribToXMLMarc21(subCont, 1, overrideCache=True) 
    5555            j += 1 
    5656        i += 1 
  • indico/MaKaC/plugins/Collaboration/RecordingManager/common.py

    ra370da raf3a6d  
    494494    # showContribution - create XML for a particular contribution, identified by ID 
    495495    # showSubContribution - create XML for a particular subcontribution, identified by ID 
    496     # forceCache - True means force it NOT to use the cache, the opposite of what you would expect. 
     496    # overrideCache - True means force it NOT to use the cache. 
    497497    # recordingManagerTags - this is how we pass along all the necessary RecordingManager args to the outputGenerator methods. 
    498498    # 
     
    509509                     showContribution    = None, 
    510510                     showSubContribution = None, 
    511                      forceCache          = True, 
     511                     overrideCache       = True, 
    512512                     recordingManagerTags = tags) 
    513513    elif parsed["type"] == 'session': 
     
    520520                     showContribution    = None, 
    521521                     showSubContribution = None, 
    522                      forceCache          = True, 
     522                     overrideCache       = True, 
    523523                     recordingManagerTags = tags) 
    524524    elif parsed["type"] == 'contribution': 
     
    531531                     showContribution    = parsed["contribution"], 
    532532                     showSubContribution = None, 
    533                      forceCache          = True, 
     533                     overrideCache       = True, 
    534534                     recordingManagerTags = tags) 
    535535    elif parsed["type"] == 'subcontribution': 
     
    542542                     showContribution    = parsed["contribution"], # maybe I should turn this on? 
    543543                     showSubContribution = parsed["subcontribution"], 
    544                      forceCache          = True, 
     544                     overrideCache       = True, 
    545545                     recordingManagerTags = tags) 
    546546    else: 
  • indico/MaKaC/webinterface/rh/contribDisplay.py

    r53b88f raf3a6d  
    7676        outgen = outputGenerator(self.getAW(), xmlgen) 
    7777        xmlgen.openTag("event") 
    78         outgen.confToXML(self._target.getConference(),0,1,1,showContribution=self._target.getId(), forceCache=True) 
     78        outgen.confToXML(self._target.getConference(),0,1,1,showContribution=self._target.getId(), overrideCache=True) 
    7979        xmlgen.closeTag("event") 
    8080        basexml = xmlgen.getXml() 
Note: See TracChangeset for help on using the changeset viewer.