Revision 702b2fe6

b/snf-cyclades-app/synnefo/management/pprint.py
263 263
                         nics)[0]
264 264
        gnt_nic["instance"] = vm_info["name"]
265 265
    except IndexError:
266
        stdout.write("Port %s is not attached to instance %s" % (port, vm))
266
        stdout.write("Port %s is not attached to instance %s\n" %
267
                     (port.id, vm.id))
267 268
        return
268 269
    pprint_table(stdout, gnt_nic.items(), None, separator=" | ",
269 270
                 title=title)

Also available in: Unified diff