Fix the OP_ID of OpAssignGroupNodes
authorIustin Pop <iustin@google.com>
Sat, 15 Jan 2011 10:34:32 +0000 (11:34 +0100)
committerIustin Pop <iustin@google.com>
Tue, 18 Jan 2011 11:47:10 +0000 (12:47 +0100)
Commit 96276ae added the above opcode, but forgot to update the OP_ID
per our previous mailing list discussions. This patch makes the OP_ID
be consistent with the other IDs (OP_$object_$action).

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: RenĂ© Nussbaumer <rn@google.com>

lib/opcodes.py

index b623f04..6d073fc 100644 (file)
@@ -1029,7 +1029,7 @@ class OpAddGroup(OpCode):
 
 class OpAssignGroupNodes(OpCode):
   """Assign nodes to a node group."""
-  OP_ID = "OP_ASSIGN_NODES"
+  OP_ID = "OP_GROUP_ASSIGN_NODES"
   OP_DSC_FIELD = "group_name"
   OP_PARAMS = [
     _PGroupName,