Changeset 03c6d2d in indico for indico/MaKaC/plugins/Collaboration/RecordingManager/common.py
- Timestamp:
- 09/19/11 14:31:48 (21 months ago)
- Branches:
- master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 4287315ec967a3da168d83963c14001db8487d53
- Children:
- a3fc2e
- Parents:
- f2ec56
- git-author:
- Adrian Moennich <jerome.ernst.monnich@…> (09/05/11 17:41:32)
- git-committer:
- Jose Benito <jose.benito.gonzalez@…> (09/19/11 14:31:48)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/plugins/Collaboration/RecordingManager/common.py
rf9077c r03c6d2d 24 24 from MaKaC.conference import ConferenceHolder, Contribution 25 25 from MaKaC.common.logger import Logger 26 from MaKaC.errors import MaKaCError 26 from MaKaC.errors import MaKaCError, NoReportError 27 27 try: 28 28 import MySQLdb … … 833 833 # Logger.get('RecMan').debug("in createIndicoLink()") 834 834 # From IndicoID, get info 835 talkInfo = parseIndicoID(IndicoID) 835 try: 836 talkInfo = parseIndicoID(IndicoID) 837 except NoReportError: 838 return False 836 839 obj = talkInfo["object"] 837 840 838 841 # Only one link per talk allowed. 839 842 if doesExistIndicoLink(obj): 840 pass843 return True # consider it a success anyway 841 844 else: 842 845 # Logger.get('RecMan').info("creating a new link in Indico for talk %s, CDS record %s" % (IndicoID, CDSID)) … … 855 858 material.setMainResource(videoLink) 856 859 obj.addMaterial(material) 860 return True 857 861 858 862 def doesExistIndicoLink(obj):
Note: See TracChangeset
for help on using the changeset viewer.
