diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2013-06-05 13:20:07 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2013-06-05 13:20:07 -0500 |
commit | 03950f97157d270cbc452d239b2e124d10e84f8e (patch) | |
tree | c493c7ff7fcbd738b236e13521b3c07ae594fbd6 /src/lib | |
parent | 8d561f220c29278b2e81484a38bc12d729baa701 (diff) | |
download | bcfg2-03950f97157d270cbc452d239b2e124d10e84f8e.tar.gz bcfg2-03950f97157d270cbc452d239b2e124d10e84f8e.tar.bz2 bcfg2-03950f97157d270cbc452d239b2e124d10e84f8e.zip |
Reporting: exclude failures type from detail view
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Bcfg2/Reporting/views.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Reporting/views.py b/src/lib/Bcfg2/Reporting/views.py index 6cba7bf8c..c7c2a503f 100644 --- a/src/lib/Bcfg2/Reporting/views.py +++ b/src/lib/Bcfg2/Reporting/views.py @@ -338,6 +338,8 @@ def client_detail(request, hostname=None, pk=None): for label in etypes.values(): edict[label] = [] for ekind in inter.entry_types: + if ekind == 'failures': + continue for ent in getattr(inter, ekind).all(): edict[etypes[ent.state]].append(ent) context['entry_types'] = edict |