Loading client/vos_group +3 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ class VOSGroup(RedisRPCClient): super(VOSGroup, self).__init__(self.host, self.port, self.db, self.rpcQueue) def addGroup(self, groupType, groupname, vospacePath): vospacePath = vospacePath.rstrip('/') if groupType == "read": requestType = "GRPR_ADD" else: Loading @@ -41,6 +42,7 @@ class VOSGroup(RedisRPCClient): sys.exit("\nFATAL: Unknown response type.\n") def delGroup(self, groupType, groupname, vospacePath): vospacePath = vospacePath.rstrip('/') if groupType == "read": requestType = "GRPR_DEL" else: Loading @@ -61,6 +63,7 @@ class VOSGroup(RedisRPCClient): sys.exit("\nFATAL: Unknown response type.\n") def listGroups(self, groupType, vospacePath): vospacePath = vospacePath.rstrip('/') if groupType == "read": requestType = "GRPR_LST" else: Loading Loading
client/vos_group +3 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ class VOSGroup(RedisRPCClient): super(VOSGroup, self).__init__(self.host, self.port, self.db, self.rpcQueue) def addGroup(self, groupType, groupname, vospacePath): vospacePath = vospacePath.rstrip('/') if groupType == "read": requestType = "GRPR_ADD" else: Loading @@ -41,6 +42,7 @@ class VOSGroup(RedisRPCClient): sys.exit("\nFATAL: Unknown response type.\n") def delGroup(self, groupType, groupname, vospacePath): vospacePath = vospacePath.rstrip('/') if groupType == "read": requestType = "GRPR_DEL" else: Loading @@ -61,6 +63,7 @@ class VOSGroup(RedisRPCClient): sys.exit("\nFATAL: Unknown response type.\n") def listGroups(self, groupType, vospacePath): vospacePath = vospacePath.rstrip('/') if groupType == "read": requestType = "GRPR_LST" else: Loading