diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2012-09-21 17:53:39 -0500 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2012-09-21 18:00:32 -0500 |
commit | 9137ea5998ae18fdef120aceabc9203c45dcc5dd (patch) | |
tree | c283d65376548e26a5fb6b4943a96ba0ccc5de55 /src/lib/Bcfg2 | |
parent | 16cecc4539d538bd47054831888e90f2bd3b6109 (diff) | |
download | bcfg2-9137ea5998ae18fdef120aceabc9203c45dcc5dd.tar.gz bcfg2-9137ea5998ae18fdef120aceabc9203c45dcc5dd.tar.bz2 bcfg2-9137ea5998ae18fdef120aceabc9203c45dcc5dd.zip |
Web Reports: Remove unnecessary comparison in config_items/item.html
The != operator isn't really necessary for unpruned. Also breaks compatability with older versions of django.
Diffstat (limited to 'src/lib/Bcfg2')
-rw-r--r-- | src/lib/Bcfg2/Server/Reports/reports/templates/config_items/item.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/item.html b/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/item.html index 42c3e8349..cadc178a7 100644 --- a/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/item.html +++ b/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/item.html @@ -93,7 +93,7 @@ div.entry_list h3 { {% endif %} <!-- display extra directory entries --> - {% if item.reason.unpruned != '' %} + {% if item.reason.unpruned %} <div class='entry_list'> <div class='entry_list_head'> <h3>Extra entries found</h3> |