From 0880f170318cfa5d12b10e237f641b27c646c8b2 Mon Sep 17 00:00:00 2001 From: Ryu Ishimoto Date: Fri, 22 Jul 2011 21:36:05 +0900 Subject: Removed unused exception object --- nova/network/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/network/manager.py b/nova/network/manager.py index 7c7deef3c..1ce8af34e 100644 --- a/nova/network/manager.py +++ b/nova/network/manager.py @@ -429,7 +429,7 @@ class NetworkManager(manager.SchedulerDependentManager): # TODO(tr3buchet) should handle floating IPs as well? try: fixed_ips = self.db.fixed_ip_get_by_instance(context, instance_id) - except exception.FixedIpNotFoundForInstance, ex: + except exception.FixedIpNotFoundForInstance: LOG.warn(_('No fixed IPs for instance %s'), instance_id) fixed_ips = [] -- cgit