DL1231 commented on code in PR #19942:
URL: https://github.com/apache/kafka/pull/19942#discussion_r2137339339


##########
committer-tools/reviewers.py:
##########
@@ -63,8 +63,9 @@ def append_message_to_pr_body(pr: int , message: str):
         return
 
     print(f"""New PR body will be:\n\n---\n{updated_pr_body}---\n""")
-    choice = input(f'Update the body of "{pr_title}"? (y/n): ').strip().lower()
-    if choice in ['n', 'no']:
+    choice = input(f'Update the body of "{pr_title}"? [Y/n] ').strip()
+    if choice not in ['', 'y', 'Y']:

Review Comment:
   ```suggestion
       choice = input(f'Update the body of "{pr_title}"? [Y/n] 
').strip().lower()
       if choice not in ['', 'y']:
   ```
   What do you think?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to