[Bug 612082] Re: optparser attribute missing in cli.py (warning-message-printing fail when --part is given a nonexistent file)

Daniel Holbert dholbert+launchpad at gmail.com
Fri Dec 3 10:21:16 GMT 2010


Here's the patch as described above.  Just passes the "optparser"
variable to set_disk_layout, and uses it to print the error instead of
using the nonexistent "self.optparser" & "hypervisor.optparser".

I've confirmed that this works locally (i.e. it makes vmbuilder print
the warning message instead of throwing an exception).

** Patch added: "patch to make warning display correctly"
   https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/612082/+attachment/1753953/+files/optparser-fix.patch

** Changed in: vm-builder (Ubuntu)
     Assignee: (unassigned) => Daniel Holbert (dholbert)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.
https://bugs.launchpad.net/bugs/612082

Title:
  optparser attribute missing in cli.py (warning-message-printing fail when --part is given a nonexistent file)



More information about the Ubuntu-server-bugs mailing list