pep8 fixes for contrib (#24344)

This commit is contained in:
Matt Martz 2017-05-09 16:38:08 -05:00 committed by GitHub
commit d3249e7875
37 changed files with 326 additions and 380 deletions

View file

@ -32,6 +32,7 @@ try:
except ImportError:
import ConfigParser as configparser
class MDTInventory(object):
def __init__(self):
@ -95,7 +96,7 @@ class MDTInventory(object):
'''
Create empty inventory dictionary
'''
return {"_meta" : {"hostvars" : {}}}
return {"_meta": {"hostvars": {}}}
def read_settings(self):
'''
@ -119,7 +120,6 @@ class MDTInventory(object):
if config.has_option('tower', 'groupname'):
self.mdt_groupname = config.get('tower', 'groupname')
def parse_cli_args(self):
'''
Command line argument processing