Fixing it to append a trailing slash in end
Don't risk missing events in gather_job_info

Seen with syndic, but in theory affects all setups. When a we call
gather_job_info if an event comes in for the main job we can discard the
event whilst we are looking for the gather_job_info event. To work
around I've made gather_job_info add events for the main job to the
pending_events list. get_event now always checks that list for events
matching it's tag

Conflicts:
	salt/utils/event.py
Pull out pending_events changes and reuse

PendingEventsBase implements all the pending_events queue management
Make both normal SaltEvent and raetevent.SaltEvent inherit from this to
standardise the get_event interface.
Update tests for event.SaltEvent (Couldn't find tests for
raetevent.SaltEvent)
Testing abspath instead of normpath
Appending trailing slash if not present
Added CLI examples to tls functions that were missing them
Making note in docs and changing example
Removing trailing whitespace
Change the error message to show actually what's tested
Merge pull request #14490 from rallytime/tls_cli_examples

Added CLI examples to tls functions that were missing them
Extend dot-in-pkg test to RHEL 5 as well
Merge commit
Merge commit, resolve conflict
Fixed code-block directives in gpg renderer
Added a dictionary subclass that supports dot-lookup notation
Switch __salt__ to use the dot-lookup subclass
Added tests for calling functions via Jinja with dot-lookup syntax

Yay!
PyLint fix.
Merge pull request #14498 from whiteinge/doc-gpg-renderer-code-blocks

Fixed code-block directives in gpg renderer
Merge pull request #14495 from cro/rhel7_pkgtests2

Extend dot-in-pkg test to RHEL 5 as well