Fixing an oops in inventory/__init__.py where the slots are incorrect

This commit is contained in:
James Cammarata 2015-06-01 20:02:15 -05:00
parent 7f1b64d934
commit 620fad9f8d

View file

@ -43,9 +43,9 @@ class Inventory(object):
Host inventory for ansible. Host inventory for ansible.
""" """
__slots__ = [ 'host_list', 'groups', '_restriction', '_also_restriction', '_subset', #__slots__ = [ 'host_list', 'groups', '_restriction', '_also_restriction', '_subset',
'parser', '_vars_per_host', '_vars_per_group', '_hosts_cache', '_groups_list', # 'parser', '_vars_per_host', '_vars_per_group', '_hosts_cache', '_groups_list',
'_pattern_cache', '_vault_password', '_vars_plugins', '_playbook_basedir'] # '_pattern_cache', '_vault_password', '_vars_plugins', '_playbook_basedir']
def __init__(self, loader, variable_manager, host_list=C.DEFAULT_HOST_LIST): def __init__(self, loader, variable_manager, host_list=C.DEFAULT_HOST_LIST):