PEP 8 cleanup. (#20790)

* PEP 8 E115 cleanup.
* PEP 8 E131 cleanup.
This commit is contained in:
Matt Clay 2017-01-28 01:39:40 -08:00 committed by GitHub
commit e2c0b375d3
23 changed files with 51 additions and 57 deletions

View file

@ -638,8 +638,8 @@ def main():
('type','NS',['value']),
('type','SPF',['value'])
]
),
required_one_of = (
),
required_one_of = (
[['record','value','type']]
)
)

View file

@ -419,8 +419,7 @@ def validate_feature(module, mode='show'):
'ethernet-link-oam': 'elo',
'port-security': 'eth_port_sec'
},
'config':
{
'config': {
'nve': 'nv overlay',
'vnseg_vlan': 'vn-segment-vlan-based',
'hsrp_engine': 'hsrp',
@ -435,7 +434,7 @@ def validate_feature(module, mode='show'):
'elo': 'ethernet-link-oam',
'eth_port_sec': 'port-security'
}
}
}
if feature in feature_to_be_mapped[mode]:
feature = feature_to_be_mapped[mode][feature]

View file

@ -193,7 +193,7 @@ def main():
authkey=dict(required=False),
privkey=dict(required=False),
removeplaceholder=dict(required=False)),
required_together = ( ['username','level','integrity','authkey'],['privacy','privkey'],),
required_together = ( ['username','level','integrity','authkey'],['privacy','privkey'],),
supports_check_mode=False)
m_args = module.params