Skip to content
Commit 3677638b authored by Daniel Silverstone's avatar Daniel Silverstone
Browse files

plugin.py: use dict.get() instead of an if statement



Pylint recommends the use of dict.get() rather than a multi-line if
statement for handling optional keyword arguments.

Signed-off-by: default avatarDaniel Silverstone <daniel.silverstone@codethink.co.uk>
parent b7108be3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment