Removing redundant "if test_resource.network" from account_generator.py
There are 2 same if conditions: "if test_resource.network" used together It creates unnecessary redundancy. This patch set will correct the code and remove one of them. Change-Id: I1a452b11255346f997832bf18c2f6afc635d5706
This commit is contained in:
parent
79551e1bed
commit
d8e6135c3a
@ -195,7 +195,6 @@ def dump_accounts(resources, identity_version, account_file):
|
||||
|
||||
if test_resource.network:
|
||||
account['resources'] = {}
|
||||
if test_resource.network:
|
||||
account['resources']['network'] = test_resource.network['name']
|
||||
accounts.append(account)
|
||||
if os.path.exists(account_file):
|
||||
|
Loading…
x
Reference in New Issue
Block a user