summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2')
-rw-r--r--src/lib/Bcfg2/Server/Reports/reports/templates/config_items/item.html2
-rw-r--r--src/lib/Bcfg2/Server/Reports/updatefix.py2
2 files changed, 2 insertions, 2 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 cadc178a7..42c3e8349 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>
diff --git a/src/lib/Bcfg2/Server/Reports/updatefix.py b/src/lib/Bcfg2/Server/Reports/updatefix.py
index d02e88b1a..b5e41b8f9 100644
--- a/src/lib/Bcfg2/Server/Reports/updatefix.py
+++ b/src/lib/Bcfg2/Server/Reports/updatefix.py
@@ -177,7 +177,7 @@ _fixes = [_merge_database_table_entries,
'alter table reports_reason add is_binary bool NOT NULL default False;',
'alter table reports_reason add is_sensitive bool NOT NULL default False;',
_remove_table_column('reports_interaction', 'client_version'),
- "alter table reports_reason add unpruned varchar(1280) not null default 'N/A';",
+ "alter table reports_reason add unpruned varchar(1280) not null default '';",
]
# this will calculate the last possible version of the database