Skip to content

Commit 5226694

Browse files
committed
Debugging utf-8 issue
1 parent cb3a720 commit 5226694

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/process-git-request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def process_git_request(fname, target_branch, source_branch, prj_dir):
2424
os.chdir(working_dir)
2525
# print(f"pwd : {os.getcwd()}")
2626
git_cmd = f"git log --oneline --no-abbrev-commit origin/{target_branch}..origin/{source_branch}"
27-
# print(git_cmd)
27+
print(f"git command is {git_cmd}")
2828
loglines_to_check = 13
2929
try:
3030
out, err = subprocess.Popen(git_cmd, shell=True, stdout=subprocess.PIPE,
@@ -46,7 +46,7 @@ def process_git_request(fname, target_branch, source_branch, prj_dir):
4646
y = x.split()
4747
print(f"This is y {y}")
4848
commit_sha = str(y[0])
49-
print("Found a commit in line ", commit_sha)
49+
print(f"Found a commit in line ", commit_sha)
5050

5151
git_cmd = "git show " + commit_sha
5252
gitlog_out, gitlog_err = subprocess.Popen(git_cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True).communicate()

0 commit comments

Comments
 (0)