summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyu Ishimoto <ryu@midokura.jp>2011-07-22 21:36:05 +0900
committerRyu Ishimoto <ryu@midokura.jp>2011-07-22 21:36:05 +0900
commit0880f170318cfa5d12b10e237f641b27c646c8b2 (patch)
tree7325084cb4919563afc151b0d4b516b549d569f9
parentc4f650278d01437a9e1866ba2fec86d4a6d70d6a (diff)
Removed unused exception object
-rw-r--r--nova/network/manager.py2
1 files changed, 1 insertions, 1 deletions
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 = []