This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 89cbe85b0b2 [SPARK-45779][INFRA][FOLLOWUP] Add more spaces to the 
prompts
89cbe85b0b2 is described below

commit 89cbe85b0b26c7994d2fb78733769d93cd1ec992
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Sat Nov 4 09:25:49 2023 -0700

    [SPARK-45779][INFRA][FOLLOWUP] Add more spaces to the prompts
    
    ### What changes were proposed in this pull request?
    
    This PR aims to add more spaces to the prompts to be consistent with the 
existing behaviors.
    
    ### Why are the changes needed?
    
    Previously, we have these spaces.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manual review.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #43658 from dongjoon-hyun/SPARK-45779-2.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 dev/merge_spark_pr.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev/merge_spark_pr.py b/dev/merge_spark_pr.py
index 59cb0273897..d837e5c2982 100755
--- a/dev/merge_spark_pr.py
+++ b/dev/merge_spark_pr.py
@@ -262,7 +262,7 @@ def print_jira_issue_summary(issue):
 
 
 def get_jira_issue(prompt, default_jira_id=""):
-    jira_id = input("%s[%s]: " % (prompt, default_jira_id))
+    jira_id = input("%s [%s]: " % (prompt, default_jira_id))
     if jira_id == "":
         jira_id = default_jira_id
         if jira_id == "":
@@ -275,7 +275,7 @@ def get_jira_issue(prompt, default_jira_id=""):
         if status == "Resolved" or status == "Closed":
             print("JIRA issue %s already has status '%s'" % (jira_id, status))
             return None
-        if input("Check if the JIRA information is as expected(y/n): 
").lower() != "n":
+        if input("Check if the JIRA information is as expected (y/n): 
").lower() != "n":
             return issue
         else:
             return get_jira_issue("Enter the revised JIRA ID again or leave 
blank to skip")


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to