diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2015-09-11 11:39:01 -0700 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2015-09-22 14:45:48 -0700 |
commit | 891611605a5610fe13f6b168a5f3e8393575b7ed (patch) | |
tree | 7e5fb84ab489e5ff8997295f7a0c452d0f6565b6 /templates | |
parent | 474660cbed4065bc3f55e70dc4e6b3127398fd99 (diff) |
framework/grouptools: fix commonprefix to handle non-overlapping values
Currently if commonprefix is passed ['foo', 'bar'] it will pass an empty
list to join, which requires at least one argument to work. This will
cause an exception to be raised. Rather than doing that, we should check
that there are common values, and just return '' if there isn't.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions