Пример #1
0
    def api_recordingManager(self, aw):
        if not self._indicoID or not self._cdsID:
            raise HTTPAPIError('A required argument is missing.',
                               apache.HTTP_BAD_REQUEST)

        success = createIndicoLink(self._indicoID, self._cdsID)
        return {'success': success}
Пример #2
0
    def api_recordingManager(self, aw):
        if not self._indicoID or not self._cdsID:
            raise HTTPAPIError('A required argument is missing.', apache.HTTP_BAD_REQUEST)

        success = createIndicoLink(self._indicoID, self._cdsID)
        return {'success': success}
Пример #3
0
    def _getAnswer(self):
        # Create the Indico link
        createIndicoLink(self._IndicoID, self._CDSID)

        return 'None' # wtf, but let's keep the return value there used to be before..
Пример #4
0
    def _getAnswer(self):
        # Create the Indico link
        createIndicoLink(self._IndicoID, self._CDSID)

        return 'None'  # wtf, but let's keep the return value there used to be before..