summaryrefslogtreecommitdiff
path: root/python/tests/py-cmd_test.py
diff options
context:
space:
mode:
author Jaewoong Jung <jungjw@google.com> 2020-02-11 07:54:35 -0800
committer Jaewoong Jung <jungjw@google.com> 2020-02-14 14:33:49 -0800
commit3aff5787e24865040305e45b80f6a4cb8e093840 (patch)
tree9b44ad3b5988c8a0b6f43affc6485a31467b0eb4 /python/tests/py-cmd_test.py
parent1d62b1c5362b70b958bbc035cf0e9e4fa97bd4b3 (diff)
Simple refactoring of prefix related functions.
Rename the two prefix-in-list funcs so that their usages are clearer. Also find and replace all the code that essentially does either. This introduces additional loops in some places, but I think the added readability and simplicity outweighs the performance degradation, which should be negligible anyway. Test: m nothing Test: TreeHugger Change-Id: I37e2276ca0c815105ed0031f23c0b1264b480e4f
Diffstat (limited to 'python/tests/py-cmd_test.py')
0 files changed, 0 insertions, 0 deletions