[Yum-devel] [PATCH] Don't error in history list, when we have no history. BZ 802462.
James Antill
james at and.org
Mon Nov 19 19:48:44 UTC 2012
---
output.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/output.py b/output.py
index 05b255e..885eb09 100755
--- a/output.py
+++ b/output.py
@@ -1973,6 +1973,8 @@ to exit.
"""
tids, printall = self._history_list_transactions(extcmds)
if tids is None:
+ if not extcmds: # This is not a real error...
+ return 0, ['No accessible history to list']
return 1, ['Failed history list']
limit = 20
--
1.7.6.5
More information about the Yum-devel
mailing list