This commit is contained in:
Mike Place 2015-11-11 09:41:49 -07:00
parent b977e1e33b
commit c52f85ea7e

View File

@ -272,11 +272,11 @@ def get(tgt, fun, expr_form='glob', exclude_minion=False):
'fun': fun, 'fun': fun,
'expr_form': expr_form, 'expr_form': expr_form,
} }
ret = _mine_get(load, __opts__) ret = _mine_get(load, __opts__)
if exclude_minion: if exclude_minion:
if __opts__['id'] in ret: if __opts__['id'] in ret:
del ret[__opts__['id']] del ret[__opts__['id']]
return ret return ret
def delete(fun): def delete(fun):