search for: _part

Displaying 2 results from an estimated 2 matches for "_part".

Did you mean: part
2010 Oct 06
1
Bug#599243: xen-utils-4.0: pygrub does not understand grub2 partition types (e.g. (hd0, msdos1) instead of (hd0, 1))
.../GrubConf.py", line 104, in set_root self._root = GrubDiskPart(val) File "/usr/lib/xen-4.0/lib/python/grub/GrubConf.py", line 55, in __init__ (self.disk, self.part) = str.split(",", 2) File "/usr/lib/xen-4.0/lib/python/grub/GrubConf.py", line 80, in set_part self._part = int(val) ValueError: invalid literal for int() with base 10: 'msdos1' Newer versions of grub2 support the use of named partition types (such as msdos1), and pygrub needs to deal with these (since the Debian scripts now generate device specifications with named partition ty...
2006 Feb 08
2
Idiomatic way to change partial''s behavior based on caller
Guys, I have a partial that is shared by many controllers, and this partial has a link that needs to do different things based on which controller calls it. So, the partial looks like this: <!-- _part.rhtml --> <tr> <td><%=part.number%></td> <td><%=part.associated_part_number%></td> <td><%=part.drawings%></td> <td><%=link_to "Choose this part", {:action=>"choose_part", :id=>part.id}, :conf...