From 8ecd7a4a819f7db79b02747c17ceeab9cefa6a7d Mon Sep 17 00:00:00 2001 From: Thomas Maddox Date: Thu, 20 Jun 2013 11:07:43 -0500 Subject: [PATCH] removed notification dive --- reports/pretty.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/reports/pretty.py b/reports/pretty.py index 851b0d7..436fb48 100644 --- a/reports/pretty.py +++ b/reports/pretty.py @@ -99,15 +99,6 @@ def make_report(yesterday=None, start_hour=0, hours=24, percentile=97, operation = cmd break - # Brace yourself. We are now painfully digging into the - # notification to get the os_type attribute - if os_type == "other" and raw.json: - notification = json.loads(raw.json) - if notification[1]: - os_type = notification[1].get('payload', {})\ - .get('image_meta', {})\ - .get('os_type', "other") - if raw.image_type: image_type_num |= raw.image_type