Use the `print()` function.
Fix "Unnecessary parens after 'print' keyword" lint issues.
Custom grains directories
Handle better state errors

This fixes #9983.
Doc: fix grains.filter_by example on default argument usage
Fix ref to changed parameter name in file.stats

A few weeks ago in 7d4c470, the argument name "follow_symlink" was
changed for consisency with the rest of the functions in the "file"
execution module. This commit fixes a missed ref to the file.stats
function.
Catch bad args in salt-call

Instead of throwing an ugly stack trace, catch a type error, format the exception and display it. Then exit with a proper retcode.
virt runner: delete key from master when VM is purged
Added cmd_batch to Python API documentation
Fixing --to-destination parameter to iptables, which needs to be placed after the jump.
make "salte-run -d" limit to the specific runner or function, if provided
salt-run: make help for --doc consistent
Delete crate.io
Toss all mirrors

7 years bad luck
Fixes a problem in 2014.1 where context can be a jinja2.runtime.Context and not a dictionary. 2014.1 also no longer stores the sls name in the sls argument, but it can be found in mods.

Alternatively, if the sls name and template path could be added to the context, this would be a whole lot easier.
Merge pull request #10007 from rgbkrk/patch-3

Delete crate.io out of PyPI mirrors
display full jinja traceback when applicable

This fixes #10010
Lint fix
The code or schedule had a better example than the doc.
Add ability to subfilter in sls files

This will recurse through the sls when matching the minion.

It will only recurse on the special key: subfilter

Why subfilters? There a few benefits. Notice in the example below
the top most filter is environment specific. All the sub filters can
be copied, as is, beneath any filter. No more writing '*dev*web*front'
anymore.

For further documentation on why this was added:
Please see issue saltstack/salt#9979

Here is an example sls:

```yaml
dev:
  '*dev*':
    - sqlite
    - subfilter:
        '*webserver*':
          - nginx
prod:
  '*prod*':
    - stunnle
    - subfilter:
        '*webserver*':
          - newrelic-agent
          - subfilter:
              '*front':
                - haproxy
              '*back':
                - nginx
                - statsd
```