Skip to content

Commit 6fc2898

Browse files
committed
rename home_directory to initial_working_dir
1 parent 56e8afe commit 6fc2898

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conda_forge_tick/auto_tick.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ def _is_migrator_done(_mg_start, good_prs, time_per, pr_limit, tried_prs):
955955

956956
def _run_migrator(migrator, mctx, temp, time_per, git_backend: GitPlatformBackend):
957957
_mg_start = time.time()
958-
home_directory = os.getcwd()
958+
initial_working_dir = os.getcwd()
959959

960960
migrator_name = get_migrator_name(migrator)
961961

@@ -1099,7 +1099,7 @@ def _run_migrator(migrator, mctx, temp, time_per, git_backend: GitPlatformBacken
10991099
gc.collect()
11001100

11011101
# sometimes we get weird directory issues so make sure we reset
1102-
os.chdir(home_directory)
1102+
os.chdir(initial_working_dir)
11031103

11041104
# Write graph partially through
11051105
dump_graph(mctx.graph)

0 commit comments

Comments
 (0)