ngachung opened a new pull request #128: URL: https://github.com/apache/incubator-sdap-nexus/pull/128
Updated solrcloudpy dependency and removed eval so that deletebyquery tool works with Python 3. Tested this locally and confirmed input works. Before the change: ``` Query found 100254 matching documents. Continue? [y]/n/(s)ample: n Traceback (most recent call last): File "/Users/nchung/PycharmProjects/incubator-sdap-nexus/tools/deletebyquery/deletebyquery.py", line 269, in <module> delete_by_query(the_args) File "/Users/nchung/PycharmProjects/incubator-sdap-nexus/tools/deletebyquery/deletebyquery.py", line 92, in delete_by_query if check_query(query): File "/Users/nchung/PycharmProjects/incubator-sdap-nexus/tools/deletebyquery/deletebyquery.py", line 127, in check_query do_continue = eval(input("Query found %s matching documents. Continue? [y]/n/(s)ample: " % num_found)) File "<string>", line 1, in <module> NameError: name 'n' is not defined ``` After the change: ``` Query found 100254 matching documents. Continue? [y]/n/(s)ample: n 2021-05-18T15:37:34 INFO:root: Exiting ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org