From: Aline Manera <alinefm(a)br.ibm.com>
ignore_list parameter was added to avoid displaying duplicated results during
deep scan.
So isoinfo main program must be updated accordingly or it will raise the
following error:
$ python kimchi/isoinfo.py
http://localhost/Fedora-Live-Desktop-x86_64-19-1.iso
Traceback (most recent call last):
File "kimchi/isoinfo.py", line 343, in <module>
probe_iso(None, dict(path=sys.argv[1], updater=updater))
File "kimchi/isoinfo.py", line 283, in probe_iso
ignore_list = params['ignore_list']
KeyError: 'ignore_list'
Signed-off-by: Aline Manera <alinefm(a)br.ibm.com>
---
src/kimchi/isoinfo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kimchi/isoinfo.py b/src/kimchi/isoinfo.py
index f76fd90..3d57533 100644
--- a/src/kimchi/isoinfo.py
+++ b/src/kimchi/isoinfo.py
@@ -280,7 +280,7 @@ def probe_iso(status_helper, params):
loc = params['path'].encode("utf-8")
updater = params['updater']
ignore = False
- ignore_list = params['ignore_list']
+ ignore_list = params.get('ignore_list', [])
def update_result(iso, ret):
if ret != ('unknown', 'unknown'):
--
1.7.10.4