From 7ee0d7848d9292c0f888c890c492b011299a3bc3 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Fri, 13 Apr 2012 16:46:42 -0400 Subject: Improved tools/hacking.py * cleaner output * fix bug 980009 * Fix N201 * N306: alphabetical order imports * N401: docstring start * N402: one line docstring start * N403: multi line docstring end * Until fixed, N40* will be disabled by default Change-Id: I9addafdaa7a1f8fb950e14a5409f661dec6c7b87 --- nova/virt/libvirt/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova') diff --git a/nova/virt/libvirt/connection.py b/nova/virt/libvirt/connection.py index a01d96377..a07e39468 100644 --- a/nova/virt/libvirt/connection.py +++ b/nova/virt/libvirt/connection.py @@ -1038,7 +1038,7 @@ class LibvirtConnection(driver.ComputeDriver): finally: try: os.unlink(testfile) - except: + except Exception: pass return hasDirectIO -- cgit