Skip to content

Commit d9bd808

Browse files
authored
Print the current working directory
1 parent d836752 commit d9bd808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backport/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def backport_task(commit_hash, branch, *, issue_number, created_by, merged_by):
3333
if "cpython" in os.listdir('.'):
3434
os.chdir('./cpython')
3535
else:
36-
print(f"pwd: {os.pwd()}, listdir: {os.listdir('.')}")
36+
print(f"pwd: {os.getcwd()}, listdir: {os.listdir('.')}")
3737
util.comment_on_pr(issue_number,
3838
f"""{util.get_participants(created_by, merged_by)}, Something is wrong... I can't backport for now.
3939
Please backport using [cherry_picker](https://pypi.org/project/cherry-picker/) on command line.

0 commit comments

Comments
 (0)