diff --git a/pyvcloud/vcd/vm.py b/pyvcloud/vcd/vm.py index 65640b14..f24cd383 100644 --- a/pyvcloud/vcd/vm.py +++ b/pyvcloud/vcd/vm.py @@ -743,7 +743,8 @@ def update_nic(self, network_name, nic_id=0, if nic_not_found: raise EntityNotFoundException( - 'Nic with name \'%s\' and index \'%s\' is not found in the VM \'%s\'' % + 'Nic with name ' + '\'%s\' and index \'%s\' is not found in the VM \'%s\'' % (network_name, nic_id, self.get_resource().get('name'))) if is_primary: