[kaltura] Remove unused code

This commit is contained in:
Sergey M․ 2016-08-21 08:10:49 +07:00
parent 5b1d85754e
commit d8f30a7e66
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -122,18 +122,6 @@ def _kaltura_api_call(self, video_id, actions, service_url=None, *args, **kwargs
return data return data
def _get_kaltura_signature(self, video_id, partner_id, service_url=None):
actions = [{
'apiVersion': '3.1',
'expiry': 86400,
'format': 1,
'service': 'session',
'action': 'startWidgetSession',
'widgetId': '_%s' % partner_id,
}]
return self._kaltura_api_call(
video_id, actions, service_url, note='Downloading Kaltura signature')['ks']
def _get_video_info(self, video_id, partner_id, service_url=None): def _get_video_info(self, video_id, partner_id, service_url=None):
actions = [ actions = [
{ {