On 2012年08月27日 18:43, Wayne Sun wrote: > Signed-off-by: Wayne Sun<gsun@xxxxxxxxxx> > --- > src/env_inspect.py | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/env_inspect.py b/src/env_inspect.py > index cf036f7..222ffb1 100644 > --- a/src/env_inspect.py > +++ b/src/env_inspect.py > @@ -77,7 +77,7 @@ def sharemod_init(env_parser, logger): > username = env_parser.get_value('variables', 'username') > password = env_parser.get_value('variables', 'password') > conn = utils.get_conn(uri, username, password) > - if not conn > + if not conn: > return 1 > > # initialize conn object in sharedmod ACK and pushed -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list