From 74c3053c9134d9168ca2509fdc4cad626a9bb351 Mon Sep 17 00:00:00 2001 From: Mike Place Date: Wed, 24 Feb 2016 13:54:56 -0700 Subject: [PATCH] Remove debugging --- salt/states/grains.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/salt/states/grains.py b/salt/states/grains.py index 9ca1e256c1..3d66efe2c7 100644 --- a/salt/states/grains.py +++ b/salt/states/grains.py @@ -134,8 +134,6 @@ def list_present(name, value, delimiter=DEFAULT_TARGET_DELIM): 'result': True, 'comment': ''} grain = __salt__['grains.get'](name) - print('Pinting context') - print(__context__) if grain: # check whether grain is a list if not isinstance(grain, list): @@ -152,12 +150,9 @@ def list_present(name, value, delimiter=DEFAULT_TARGET_DELIM): if intersection: value = list(set(value).difference(__context__['pending_grains'][name])) ret['comment'] = 'Removed value {0} from update due to context found in "{1}".\n'.format(value, name) - print('pre context set') if 'pending_grains' not in __context__: - print('init pending grains context') __context__['pending_grains'] = {} if name not in __context__['pending_grains']: - print('populating pending grains context') __context__['pending_grains'][name] = set() __context__['pending_grains'][name].update(value) else: