There is no need to have None in the errors dictionary for every thread no
matter if it caused an error or not.
Signed-off-by: Vratislav Podzimek <vpodzime(a)redhat.com>
---
pyanaconda/threads.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/pyanaconda/threads.py b/pyanaconda/threads.py
index 90cde1f..74acef6 100644
--- a/pyanaconda/threads.py
+++ b/pyanaconda/threads.py
@@ -59,7 +59,6 @@ class ThreadManager(object):
raise KeyError("Cannot add thread '%s', a thread with the
same name already running" % obj.name)
self._objs[obj.name] = obj
- self._errors[obj.name] = None
obj.start()
return obj.name
--
1.8.5.3