Remove unused variable 'command'
Triggers F841 local variable 'command' is assigned to but never used instead (with newer pyflakes) Change-Id: I2ed56c53d4e4720d87fcce87b21180d4aa8dfc7b
This commit is contained in:
parent
59beaa46fd
commit
b5cfe0a182
@ -102,7 +102,7 @@ class PathFilter(CommandFilter):
|
||||
if not userargs or len(userargs) < 2:
|
||||
return False
|
||||
|
||||
command, arguments = userargs[0], userargs[1:]
|
||||
arguments = userargs[1:]
|
||||
|
||||
equal_args_num = len(self.args) == len(arguments)
|
||||
exec_is_valid = super(PathFilter, self).match(userargs)
|
||||
|
Loading…
Reference in New Issue
Block a user