From 959cb11bec1cb3ad6935089f3072b57c5ff857a7 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Tue, 30 Oct 2012 16:11:08 -0400 Subject: [PATCH] Removed old code in send_media_monitor_requests --- python_apps/api_clients/api_client.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/python_apps/api_clients/api_client.py b/python_apps/api_clients/api_client.py index 635467b35..846be3b8e 100644 --- a/python_apps/api_clients/api_client.py +++ b/python_apps/api_clients/api_client.py @@ -491,7 +491,6 @@ class AirtimeApiClient(object): says whether the show was recorded or not. The value of this key does not matter, only if it's present or not. """ - url = self.construct_url('reload_metadata_group') # We are assuming that action_list is a list of dictionaries such # that every dictionary represents the metadata of a file along # with a special mode key that is the action to be executed by the @@ -519,8 +518,6 @@ class AirtimeApiClient(object): # controller not to actually do any changes if dry: md_list['dry'] = 1 self.logger.info("Pumping out %d requests..." % len(valid_actions)) - data = urllib.urlencode(md_list) - req = urllib2.Request(url, data) #response = self.get_response_from_server(req) #response = json.loads(response) response = self.services.reload_metadata_group(_post_data=md_list)