On 2012年08月27日 18:43, Wayne Sun wrote:
Signed-off-by: Wayne Sun<gsun(a)redhat.com>
---
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