Testing sleeptest in server mode caused falling in infinte loop.
Checking value of 'initialized' in _init_on_demand_ executed
__getattr__ because 'initialized' wasn't class attribute.
Setting it as class attribute solve problem.
Signed-off-by: Rafal Mackowski <[email protected]>
---
client/shared/software_manager.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/client/shared/software_manager.py
b/client/shared/software_manager.py
index 84e9aea..3ea6478 100755
--- a/client/shared/software_manager.py
+++ b/client/shared/software_manager.py
@@ -111,6 +111,7 @@ class SoftwareManager(object):
uses the concept of a backend, a helper class that implements the
set of
operations of a given package management tool.
"""
+ initialized = False
def __init__(self):
"""
Lazily instantiate the object
--
1.7.0.4
_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel