add inline comment about popping expect_minions

This commit is contained in:
Daniel Wallace 2017-10-17 14:57:33 -06:00
parent b615ce1762
commit 272dcc6ba5
No known key found for this signature in database
GPG key ID: 5FA5E5544F010D48

View file

@ -1582,6 +1582,9 @@ class LocalClient(object):
timeout=timeout,
tgt=tgt,
tgt_type=tgt_type,
# (gtmanfred) expect_minions is popped here incase it is passed from a client
# call. If this is not popped, then it would be passed twice to
# get_iter_returns.
expect_minions=(kwargs.pop('expect_minions', False) or verbose or show_timeout),
**kwargs
):