Changeset af3a6d in indico
- Timestamp:
- 03/17/11 17:24:46 (2 years ago)
- 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)
- Files:
-
- 4 edited
-
bin/legacy/createOAIConferenceCache.py (modified) (1 diff)
-
bin/legacy/createOAIContributionCache.py (modified) (1 diff)
-
indico/MaKaC/plugins/Collaboration/RecordingManager/common.py (modified) (5 diffs)
-
indico/MaKaC/webinterface/rh/contribDisplay.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bin/legacy/createOAIConferenceCache.py
rbdd862 raf3a6d 47 47 print i, ":", conf.getId() 48 48 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) 51 51 i += 1 52 52 DBMgr.getInstance().endRequest() -
bin/legacy/createOAIContributionCache.py
rbdd862 raf3a6d 49 49 print "conf %d:%s - contrib %d:%s"%(i, conf.getId(), j, cont.getId()) 50 50 og = outputGenerator(AccessWrapper()) 51 x = og.contribToXMLMarc21(cont, 1, forceCache=True)51 x = og.contribToXMLMarc21(cont, 1, overrideCache=True) 52 52 for subCont in cont.getSubContributionList(): 53 53 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) 55 55 j += 1 56 56 i += 1 -
indico/MaKaC/plugins/Collaboration/RecordingManager/common.py
ra370da raf3a6d 494 494 # showContribution - create XML for a particular contribution, identified by ID 495 495 # 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. 497 497 # recordingManagerTags - this is how we pass along all the necessary RecordingManager args to the outputGenerator methods. 498 498 # … … 509 509 showContribution = None, 510 510 showSubContribution = None, 511 forceCache= True,511 overrideCache = True, 512 512 recordingManagerTags = tags) 513 513 elif parsed["type"] == 'session': … … 520 520 showContribution = None, 521 521 showSubContribution = None, 522 forceCache= True,522 overrideCache = True, 523 523 recordingManagerTags = tags) 524 524 elif parsed["type"] == 'contribution': … … 531 531 showContribution = parsed["contribution"], 532 532 showSubContribution = None, 533 forceCache= True,533 overrideCache = True, 534 534 recordingManagerTags = tags) 535 535 elif parsed["type"] == 'subcontribution': … … 542 542 showContribution = parsed["contribution"], # maybe I should turn this on? 543 543 showSubContribution = parsed["subcontribution"], 544 forceCache= True,544 overrideCache = True, 545 545 recordingManagerTags = tags) 546 546 else: -
indico/MaKaC/webinterface/rh/contribDisplay.py
r53b88f raf3a6d 76 76 outgen = outputGenerator(self.getAW(), xmlgen) 77 77 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) 79 79 xmlgen.closeTag("event") 80 80 basexml = xmlgen.getXml()
Note: See TracChangeset
for help on using the changeset viewer.
