diff options
| author | Tushar Patil <tushar.vitthal.patil@gmail.com> | 2011-07-21 11:25:02 -0700 |
|---|---|---|
| committer | Tushar Patil <tushar.vitthal.patil@gmail.com> | 2011-07-21 11:25:02 -0700 |
| commit | ae1fd7e73890d361d0bd6ad764118c1e5601cdca (patch) | |
| tree | c2f3093e79b2597cb8d900ff6536b7e65e428241 /nova | |
| parent | a03210b262e258bb56377b5a2d46a1134cbe3450 (diff) | |
pep8
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/network/manager.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/nova/network/manager.py b/nova/network/manager.py index c9a68af68..bafa1c8e8 100644 --- a/nova/network/manager.py +++ b/nova/network/manager.py @@ -409,9 +409,8 @@ class NetworkManager(manager.SchedulerDependentManager): LOG.debug(_("network allocations for instance %s"), instance_id, context=context) networks = self._get_networks_for_instance(admin_context, - instance_id, - project_id, - requested_networks=requested_networks) + instance_id, project_id, + requested_networks=requested_networks) self._allocate_mac_addresses(context, instance_id, networks) self._allocate_fixed_ips(admin_context, instance_id, host, networks, vpn=vpn, @@ -928,7 +927,7 @@ class VlanManager(RPCAllocateFixedIP, FloatingIP, NetworkManager): requested_networks) else: networks = self.db.project_get_networks(context, project_id) - return networks; + return networks def create_networks(self, context, **kwargs): """Create networks based on parameters.""" |
