network: Drop dead code in pretty_format_mode
There isn't any XML that hits this case that I can find. Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
766d7c47c3
commit
045c8c108d
|
@ -173,10 +173,6 @@ class vmmNetwork(vmmLibvirtObject):
|
|||
desc = _("Routed network")
|
||||
else:
|
||||
modestr = mode.capitalize()
|
||||
if dev:
|
||||
desc = (_("%(mode)s to %(device)s") %
|
||||
{"mode": modestr, "device": dev})
|
||||
else:
|
||||
desc = _("%s network") % modestr
|
||||
|
||||
return desc
|
||||
|
|
Loading…
Reference in New Issue