diff options
author | Naveen Joy <najoy@cisco.com> | 2019-03-06 10:41:06 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-03-07 19:40:04 +0000 |
commit | 2cbf2fb05ea0468a6faf8df575f32d1277109527 (patch) | |
tree | fb58b3f4f93a2c736953e72f7b9bed196767eef4 /src/vlibapi | |
parent | 974931f162820bd4ba41a43cae9578171cf0e3d1 (diff) |
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>
Diffstat (limited to 'src/vlibapi')
0 files changed, 0 insertions, 0 deletions