Add bool flag to network.ping

You're right, thanks. I over-linted! ;]


On Wed, Jun 11, 2014 at 11:09 AM, Erik Johnson <notifications@github.com>
wrote:

> In salt/daemons/masterapi.py:
>
> > @@ -1121,14 +1121,18 @@ def publish(self, load):
> >                  )
> >                  return ''
> >              if not token:
> > -                log.warning('Authentication failure of type "token" occurred.')
> > +                log.warning('Authentication failure of type "token" occurred. \
> > +                            Token could not be retrieved.')
> >                  return ''
>
> Since this string is inside parenthesis, the backslash doesn't need to be
> here. In fact, it will result in one long string with all the leading
> whitespace before "Token could not be retrieved" included. Changing the
> backslash to a single-quote, and putting a single-quote before "Token"
> should fix this.
>
> The same solution qpplies to the other two log messages that were modified
> in this file.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/saltstack/salt/pull/13387/files#r13660958>.
>