Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
pylint fixes: remove redundant parens, fix comparison order
[yardstick.git]
/
api
/
utils
/
common.py
diff --git
a/api/utils/common.py
b/api/utils/common.py
index
1c800ce
..
3e9bf8f
100644
(file)
--- a/
api/utils/common.py
+++ b/
api/utils/common.py
@@
-33,7
+33,7
@@
def get_command_list(command_list, opts, args):
command_list.append(args)
- command_list.extend(('--{}'.format(k) for k in opts if
'task-args' != k
))
+ command_list.extend(('--{}'.format(k) for k in opts if
k != 'task-args'
))
task_args = opts.get('task-args', '')
if task_args: