Skip to content

Commit c88b6b5

Browse files
committed
twice
1 parent b5cd898 commit c88b6b5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

zoomeye/data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ def regexp(keys, field_table, data_list):
162162
return result
163163

164164

165-
def filter_search_data(keys, field_table, data):
165+
def filter_search_data(datakeys, field_table, data):
166166
"""
167167
get the data of the corresponding field
168-
:param keys: list, user input field
168+
:param datakeys: list, user input field
169169
:param field_table: dict, fileds
170170
:param data: list, zoomeye api data
171171
:return: list, ex: [[1,2,3...],[1,2,3...],[1,2,3...]...]
@@ -174,7 +174,7 @@ def filter_search_data(keys, field_table, data):
174174
for d in data:
175175
item = []
176176
zmdict = ZoomEyeDict(d)
177-
for key in keys:
177+
for key in datakeys:
178178
if field_table.get(key.strip()) is None:
179179
support_fields = ','.join(list(field_table.keys()))
180180
show.printf("filter command has unsupport fields [{}], support fields has [{}]"

0 commit comments

Comments
 (0)