Fix pylint

Apparently jenkins' pylint doesn't like arguments to have default values
that are mutable types, such as empty lists. This fixes that.
Merge pull request #7111 from terminalmage/quickfix

Fix pylint