+ def command_list_ok_begin(self):
+ if self._commandlist is not None:
+ raise CommandListError, "Already in command list"
+ self._writecommand("command_list_ok_begin")
+ self._commandlist = []
+
+ def command_list_end(self):
+ if self._commandlist is None:
+ raise CommandListError, "Not in command list"
+ self._writecommand("command_list_end")
+ return self._getcommandlist()
+