summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2010-08-26 10:57:40 +0200
committerMartin Sivak <msivak@redhat.com>2010-08-26 10:57:40 +0200
commit81dd0cf913c8893d6b3007fae4ae7966bedf4074 (patch)
tree20fedf0be2775c15d07df4a88f8a134574c13e1c
parent7ee05c0f74a62b96e100162d154b646bb5576818 (diff)
downloadfirstaidkit-81dd0cf913c8893d6b3007fae4ae7966bedf4074.zip
firstaidkit-81dd0cf913c8893d6b3007fae4ae7966bedf4074.tar.gz
firstaidkit-81dd0cf913c8893d6b3007fae4ae7966bedf4074.tar.xz
Add missing frontend file
-rw-r--r--firstaidkit.spec2
-rw-r--r--plugins/openscap_plugin.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/firstaidkit.spec b/firstaidkit.spec
index dfeb636..76320f3 100644
--- a/firstaidkit.spec
+++ b/firstaidkit.spec
@@ -185,6 +185,7 @@ packet.
%{__install} -p frontend/*.py $RPM_BUILD_ROOT/usr/share/firstaidkit/frontend/
%{__install} -p frontend/*.glade $RPM_BUILD_ROOT/usr/share/firstaidkit/frontend/
%{__install} -p frontend/*.gladep $RPM_BUILD_ROOT/usr/share/firstaidkit/frontend/
+%{__install} -p frontend/*.xml $RPM_BUILD_ROOT/usr/share/firstaidkit/frontend/
%{__install} -d $RPM_BUILD_ROOT/usr/share/icons
%{__install} -p images/FAK-bandaid.png $RPM_BUILD_ROOT/usr/share/icons/firstaidkit.png
desktop-file-install --vendor="fedora" --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE3}
@@ -233,6 +234,7 @@ desktop-file-install --vendor="fedora" --dir=${RPM_BUILD_ROOT}%{_datadir}/applic
%defattr(-,root,root,-)
/usr/share/firstaidkit/frontend/*.py*
/usr/share/firstaidkit/frontend/*.glade
+/usr/share/firstaidkit/frontend/*.xml
/usr/share/firstaidkit/frontend/*.gladep
/usr/share/icons/*.png
%{_datadir}/applications/*.desktop
diff --git a/plugins/openscap_plugin.py b/plugins/openscap_plugin.py
index 412c31b..fcb2b4d 100644
--- a/plugins/openscap_plugin.py
+++ b/plugins/openscap_plugin.py
@@ -139,6 +139,7 @@ class OpenSCAPPlugin(Plugin):
else:
return 1
+
def diagnose(self):
for x in self._policy.get_selected_rules():
self._reporting.info("Selecting rule "+x.item, origin = self, level = PLUGIN)