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:
Dirk Mueller 2014-04-14 18:52:35 +02:00
parent 59beaa46fd
commit b5cfe0a182

View File

@ -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)