Merge "Make code more compact for get_list_opts function"

This commit is contained in:
Jenkins 2016-06-24 13:50:48 +00:00 committed by Gerrit Code Review
commit 6dbec64dd7

@ -63,9 +63,7 @@ class TestCase(testtools.TestCase):
@classmethod
def get_list_opts(cls, headers=[]):
opts = ' -f csv '
opts = opts + ' '.join(['-c ' + it for it in headers])
return opts
return ' -f csv ' + ' '.join(['-c ' + it for it in headers])
@classmethod
def assertOutput(cls, expected, actual):