Loading client/vos_group +8 −4 Original line number Diff line number Diff line Loading @@ -36,9 +36,11 @@ class VOSGroup(RedisRPCClient): if "responseType" not in addGroupResponse: sys.exit("FATAL: Malformed response, storage acknowledge expected.\n") elif addGroupResponse["responseType"] == "GRPR_STARTED": print("\nThe procedure that adds the group to 'group_read' has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that adds the group to 'group_read' has started.") print("If notifications are enabled, you will receive an email as soon as the job is completed.\n") elif addGroupResponse["responseType"] == "GRPW_STARTED": print("\nThe procedure that adds the group to 'group_write' has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that adds the group to 'group_write' has started.") print("If notifications are enabled, you will receive an email as soon as the job is completed.\n") elif addGroupResponse["responseType"] == "ERROR": errorCode = addGroupResponse["errorCode"] errorMsg = addGroupResponse["errorMsg"] Loading @@ -57,9 +59,11 @@ class VOSGroup(RedisRPCClient): if "responseType" not in delGroupResponse: sys.exit("FATAL: Malformed response.\n") elif delGroupResponse["responseType"] == "GRPR_STARTED": print("\nThe procedure that removes the group from 'group_read' has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that removes the group from 'group_read' has started.") print("If notifications are enabled, you will receive an email as soon as the job is completed.\n") elif delGroupResponse["responseType"] == "GRPW_STARTED": print("\nThe procedure that removes the group from 'group_write' has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that removes the group from 'group_write' has started." print("If notifications are enabled, you will receive an email as soon as the job is completed.\n") elif delGroupResponse["responseType"] == "ERROR": errorCode = delGroupResponse["errorCode"] errorMsg = delGroupResponse["errorMsg"] Loading client/vos_import +2 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,8 @@ class VOSImport(RedisRPCClient): if "responseType" not in importResponse: sys.exit("FATAL: Malformed response, storage acknowledge expected.\n") elif importResponse["responseType"] == "IMPORT_STARTED": print("\nImport procedure started.\nYou'll receive an email at the end of the operation.\n") print("\nImport procedure started.") print("If notifications are enabled, you will receive an email as soon as the job is completed.\n") elif importResponse["responseType"] == "ERROR": errorCode = importResponse["errorCode"] errorMsg = importResponse["errorMsg"] Loading Loading
client/vos_group +8 −4 Original line number Diff line number Diff line Loading @@ -36,9 +36,11 @@ class VOSGroup(RedisRPCClient): if "responseType" not in addGroupResponse: sys.exit("FATAL: Malformed response, storage acknowledge expected.\n") elif addGroupResponse["responseType"] == "GRPR_STARTED": print("\nThe procedure that adds the group to 'group_read' has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that adds the group to 'group_read' has started.") print("If notifications are enabled, you will receive an email as soon as the job is completed.\n") elif addGroupResponse["responseType"] == "GRPW_STARTED": print("\nThe procedure that adds the group to 'group_write' has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that adds the group to 'group_write' has started.") print("If notifications are enabled, you will receive an email as soon as the job is completed.\n") elif addGroupResponse["responseType"] == "ERROR": errorCode = addGroupResponse["errorCode"] errorMsg = addGroupResponse["errorMsg"] Loading @@ -57,9 +59,11 @@ class VOSGroup(RedisRPCClient): if "responseType" not in delGroupResponse: sys.exit("FATAL: Malformed response.\n") elif delGroupResponse["responseType"] == "GRPR_STARTED": print("\nThe procedure that removes the group from 'group_read' has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that removes the group from 'group_read' has started.") print("If notifications are enabled, you will receive an email as soon as the job is completed.\n") elif delGroupResponse["responseType"] == "GRPW_STARTED": print("\nThe procedure that removes the group from 'group_write' has started.\nYou'll receive an email at the end of the operation.\n") print("\nThe procedure that removes the group from 'group_write' has started." print("If notifications are enabled, you will receive an email as soon as the job is completed.\n") elif delGroupResponse["responseType"] == "ERROR": errorCode = delGroupResponse["errorCode"] errorMsg = delGroupResponse["errorMsg"] Loading
client/vos_import +2 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,8 @@ class VOSImport(RedisRPCClient): if "responseType" not in importResponse: sys.exit("FATAL: Malformed response, storage acknowledge expected.\n") elif importResponse["responseType"] == "IMPORT_STARTED": print("\nImport procedure started.\nYou'll receive an email at the end of the operation.\n") print("\nImport procedure started.") print("If notifications are enabled, you will receive an email as soon as the job is completed.\n") elif importResponse["responseType"] == "ERROR": errorCode = importResponse["errorCode"] errorMsg = importResponse["errorMsg"] Loading