diff --git a/tools/oneclick/base/common.py b/tools/oneclick/base/common.py index 01a7e7d428c1ee365c3f3ae4963ef34de21e2f3c..01d1d8c7fc1e601f5a1b56c240a785c031369170 100644 --- a/tools/oneclick/base/common.py +++ b/tools/oneclick/base/common.py @@ -434,12 +434,12 @@ def find_indices_where(in_list, value, condition=operator.eq): """ return [i for i,x in enumerate(in_list) if condition(x, value)] -def find_indices_where_eq(in_list, value): return find_indices_where_value(in_list, value, operator.eq) -def find_indices_where_ne(in_list, value): return find_indices_where_value(in_list, value, operator.ne) -def find_indices_where_lt(in_list, value): return find_indices_where_value(in_list, value, operator.lt) -def find_indices_where_le(in_list, value): return find_indices_where_value(in_list, value, operator.le) -def find_indices_where_gt(in_list, value): return find_indices_where_value(in_list, value, operator.gt) -def find_indices_where_ge(in_list, value): return find_indices_where_value(in_list, value, operator.ge) +def find_indices_where_eq(in_list, value): return find_indices_where(in_list, value, operator.eq) +def find_indices_where_ne(in_list, value): return find_indices_where(in_list, value, operator.ne) +def find_indices_where_lt(in_list, value): return find_indices_where(in_list, value, operator.lt) +def find_indices_where_le(in_list, value): return find_indices_where(in_list, value, operator.le) +def find_indices_where_gt(in_list, value): return find_indices_where(in_list, value, operator.gt) +def find_indices_where_ge(in_list, value): return find_indices_where(in_list, value, operator.ge) def unique(in_list):