diff options
Diffstat (limited to 'nova/tests/virt/libvirt/test_libvirt.py')
-rw-r--r-- | nova/tests/virt/libvirt/test_libvirt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/virt/libvirt/test_libvirt.py b/nova/tests/virt/libvirt/test_libvirt.py index 6b70fe1c69..d246c32b75 100644 --- a/nova/tests/virt/libvirt/test_libvirt.py +++ b/nova/tests/virt/libvirt/test_libvirt.py @@ -2153,7 +2153,7 @@ class LibvirtConnTestCase(test.TestCase): conn.ensure_filtering_rules_for_instance(instance_ref, network_info, time_module=fake_timer) - except exception.NovaException, e: + except exception.NovaException as e: msg = ('The firewall filter for %s does not exist' % instance_ref['name']) c1 = (0 <= str(e).find(msg)) |