From 553eaee4673b83c5422d22e5511ff5a5ce263a32 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 26 Aug 2016 05:21:10 +0200 Subject: [PATCH] Fix pylint false-positive --- qutebrowser/commands/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/commands/command.py b/qutebrowser/commands/command.py index 0aa7c6f3c..0d9602ca2 100644 --- a/qutebrowser/commands/command.py +++ b/qutebrowser/commands/command.py @@ -427,7 +427,7 @@ class Command: self.name)) elif issubclass(typ, typing.Union): # this is... slightly evil, I know - types = list(typ.__union_params__) + types = list(typ.__union_params__) # pylint: disable=no-member if param.default is not inspect.Parameter.empty: types.append(type(param.default)) choices = self.get_arg_info(param).choices