On Fri, 2012-08-03 at 15:02 +0200, Mackowski Rafal wrote: > 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.
Ok, thanks for the fix, applied. Your patch was kinda scrambled, so I think you might not be using git send-email. If that's the case, please consider using it. > 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 _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
