Skip to content
Commit b58a7bf6 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 0e573080
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