Skip to content
Commit 6b5d9d81 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 b07e7b0a
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