From 7baeee99f8aabc71df3179083cbedaf34ec1f38e Mon Sep 17 00:00:00 2001 From: Shwetha-H-Panduranga Date: Tue, 20 Dec 2011 18:07:00 +0530 Subject: The hostutils.execute_command now returns output(type dict). Hence reflecting changes in clientutils, serverutils --- libs/utils/clientutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/utils/clientutils.py') diff --git a/libs/utils/clientutils.py b/libs/utils/clientutils.py index 33f036e..9272e55 100644 --- a/libs/utils/clientutils.py +++ b/libs/utils/clientutils.py @@ -175,8 +175,8 @@ def execute_on_mount(mountkey, command, commandInput=None): clientkey = mount_obj.client mountdir = mount_obj.dir command = "cd " + mountdir + " ;" + command - return_status = hostutils.execute_command(clientkey, command, commandInput) - return return_status + output = hostutils.execute_command(clientkey, command, commandInput) + return output['exitstatus'] __all__ = ['execute_on_mount', 'umount', -- cgit