make-test: Python pep8 compliance for sequences 80/18080/2
authorNaveen Joy <najoy@cisco.com>
Wed, 6 Mar 2019 18:41:06 +0000 (10:41 -0800)
committerDamjan Marion <dmarion@me.com>
Thu, 7 Mar 2019 19:40:04 +0000 (19:40 +0000)
commit2cbf2fb05ea0468a6faf8df575f32d1277109527
treefb58b3f4f93a2c736953e72f7b9bed196767eef4
parent974931f162820bd4ba41a43cae9578171cf0e3d1
make-test: Python pep8 compliance for sequences

For sequences, (strings, lists, tuples), use the fact that
empty sequences are false. A tiny change towards getting
full pep8 compliance, which will look good.
Yes: if not seq:
     if seq:
No:  if len(seq):
     if not len(seq):
(https://www.python.org/dev/peps/pep-0008/)

Change-Id: I6b565bef424f81afc66aba3b0041a5029a9f8954
Signed-off-by: Naveen Joy <najoy@cisco.com>
test/run_tests.py