Remove print from callback, fix failed flag propagation on job event, add tests for failed flag and play/task field on job events.

This commit is contained in:
Chris Church
2013-06-28 05:03:17 -04:00
parent 18ac049860
commit 3984730754
3 changed files with 53 additions and 35 deletions

View File

@@ -100,7 +100,6 @@ class CallbackModule(object):
url = urlparse.urljoin(url, url_path)
headers = {'content-type': 'application/json'}
response = requests.post(url, data=data, headers=headers, auth=auth)
print response.content
response.raise_for_status()
def _log_event(self, event, **event_data):