Lines Matching refs:com
142 (com, arg) = grub_exact_split(line, 2)
144 if self.commands.has_key(com):
145 if self.commands[com] is not None:
146 setattr(self, self.commands[com], arg.strip())
148 logging.info("Ignored image directive %s" %(com,))
150 logging.warning("Unknown image directive %s" %(com,))
215 (com, arg) = grub_exact_split(line, 2)
216 if self.commands.has_key(com):
217 if self.commands[com] is not None:
218 setattr(self, self.commands[com], arg.strip())
220 logging.info("Ignored directive %s" %(com,))
222 logging.warning("Unknown directive %s" %(com,))
298 (com, arg) = grub_exact_split(l, 2)
299 if self.commands.has_key(com):
300 if self.commands[com] is not None:
301 setattr(self, self.commands[com], arg.strip())
303 logging.info("Ignored directive %s" %(com,))
305 logging.warning("Unknown directive %s" %(com,))
314 (com,arg) = grub_split(arg,2)
315 com="set:" + com
319 return (com,arg)
326 (com, arg) = grub_exact_split(line, 2)
328 if com == "set":
329 (com,arg) = grub2_handle_set(arg)
331 if self.commands.has_key(com):
332 if self.commands[com] is not None:
333 setattr(self, self.commands[com], arg.strip())
335 logging.info("Ignored image directive %s" %(com,))
336 elif com.startswith('set:'):
339 logging.warning("Unknown image directive %s" %(com,))
426 (com, arg) = grub_exact_split(l, 2)
428 if com == "set":
429 (com,arg) = grub2_handle_set(arg)
431 if self.commands.has_key(com):
432 if self.commands[com] is not None:
437 setattr(self, self.commands[com], arg_strip)
439 logging.info("Ignored directive %s" %(com,))
440 elif com.startswith('set:'):
443 logging.warning("Unknown directive %s" %(com,))