Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit49628f0

Browse files
author
vshepard
committed
Change tmp_path
1 parenta6f88fd commit49628f0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎testgres/plugins/pg_probackup2/pg_probackup2/init_helpers.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,13 @@ def __init__(self):
7474
self._test_env=test_env
7575

7676
# Get the directory from which the script was executed
77-
helpers_path=os.getcwd()
78-
self.tests_source_path=os.path.abspath(
79-
os.path.join(helpers_path,os.pardir)
80-
)
77+
self.source_path=os.getcwd()
8178
tmp_path=test_env.get('PGPROBACKUP_TMP_DIR')
8279
iftmp_pathandos.path.isabs(tmp_path):
8380
self.tmp_path=tmp_path
8481
else:
8582
self.tmp_path=os.path.abspath(
86-
os.path.join(self.tests_source_path,tmp_pathor'tmp_dirs')
83+
os.path.join(self.source_path,tmp_pathor'tmp_dirs')
8784
)
8885

8986
os.makedirs(self.tmp_path,exist_ok=True)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp