• Mathieu Bridon's avatar
    opensubtitles: Fix a function signature · 73a63714
    Mathieu Bridon authored
    Commit 6afabc10 changed the method
    signature to please pylint:
    
    -    def _show_dialog (self, params, _):
    +    def _show_dialog (self, _):
    
    This effectively makes the method take a single parameter instead of
    two.
    
    However the method is typically called with two arguments. (it is an
    action callback)
    
    This completely broke the OpenSubtitles plugin, which wasn't able to
    show its dialog any more.
    
    This commit makes the code ignore all parameters of the method, so
    Pylint is still happy, but fixes the issue.
    73a63714
Name
Last commit
Last update
data Loading commit data...
docs/reference Loading commit data...
flatpak Loading commit data...
help Loading commit data...
po Loading commit data...
src Loading commit data...
subprojects Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog.pre-gitlog Loading commit data...
MAINTAINERS Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
license_change Loading commit data...
meson.build Loading commit data...
meson_compile_python.py Loading commit data...
meson_options.txt Loading commit data...
meson_post_install.py Loading commit data...
totem.doap Loading commit data...