aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/dnf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/dnf.py b/sos/plugins/dnf.py
index c2198ae9..ce963ff2 100644
--- a/sos/plugins/dnf.py
+++ b/sos/plugins/dnf.py
@@ -63,7 +63,7 @@ class DNFPlugin(Plugin, RedHatPlugin):
if self.get_option("history-info"):
history = self.call_ext_prog("dnf history")
- transactions = None
+ transactions = -1
if history['output']:
for line in history['output'].splitlines():
try: