Remove duplicated logic from initialize_networks()
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
4e61377c6d
commit
d98b64f6e7
1 changed files with 1 additions and 5 deletions
|
|
@ -300,11 +300,7 @@ class Project(object):
|
|||
if not self.use_networking:
|
||||
return
|
||||
|
||||
networks = self.networks
|
||||
if self.uses_default_network():
|
||||
networks.append(self.default_network)
|
||||
|
||||
for network in networks:
|
||||
for network in self.networks:
|
||||
network.ensure()
|
||||
|
||||
def uses_default_network(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue