summaryrefslogtreecommitdiff
path: root/obnamlib/plugins/list_errors_plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'obnamlib/plugins/list_errors_plugin.py')
-rw-r--r--obnamlib/plugins/list_errors_plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/obnamlib/plugins/list_errors_plugin.py b/obnamlib/plugins/list_errors_plugin.py
index 9e4bdd5c..519bddbf 100644
--- a/obnamlib/plugins/list_errors_plugin.py
+++ b/obnamlib/plugins/list_errors_plugin.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2015 Lars Wirzenius
+# Copyright (C) 2015-2016 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -27,6 +27,7 @@ class ListErrorsPlugin(obnamlib.ObnamPlugin):
def list_errors(self, args):
errors = obnamlib.find_structured_errors(obnamlib, self.app.pluginmgr)
+ errors = [e for e in errors if e.msg]
f = self.app.output
f.write('## By error code\n\n')