Skip to content

Commit be448f2

Browse files
committed
[MINOR][BUILD][FOLLOWUP] Fix merge_spark_pr script for no jira case
### What changes were proposed in this pull request? This PR is a followup for #50237 to fix the case of `if not JIRA_IMPORTED:` ### Why are the changes needed? fix merge tool ### Does this PR introduce _any_ user-facing change? no, committer member only ### How was this patch tested? merged #50443 w/o jira installed ### Was this patch authored or co-authored using generative AI tooling? no Closes #50447 from yaooqinn/jira. Authored-by: Kent Yao <[email protected]> Signed-off-by: Kent Yao <[email protected]>
1 parent 4d7deab commit be448f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/merge_spark_pr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,7 @@ def get_current_ref():
566566

567567
def initialize_jira():
568568
global asf_jira
569+
asf_jira = None
569570
jira_server = {"server": JIRA_API_BASE}
570571

571572
if not JIRA_IMPORTED:
@@ -595,7 +596,6 @@ def initialize_jira():
595596
else:
596597
print("Neither JIRA_ACCESS_TOKEN nor JIRA_USERNAME/JIRA_PASSWORD are set.")
597598
continue_maybe("Continue without jira?")
598-
asf_jira = None
599599

600600

601601
def main():

0 commit comments

Comments
 (0)