Skip to content

Commit 5d8a43f

Browse files
committed
[_686] independent computation of irodsA path
1 parent 4818f65 commit 5d8a43f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

irods/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ def env_filename_from_keyword_args(kwargs):
2929
def derived_auth_filename(env_filename):
3030
if not env_filename:
3131
return ""
32-
default_irods_authentication_file = os.path.join(
33-
os.path.dirname(env_filename), ".irodsA"
34-
)
32+
default_irods_authentication_file = os.path.expanduser("~/.irods/.irodsA")
3533
return os.environ.get(
3634
"IRODS_AUTHENTICATION_FILE", default_irods_authentication_file
3735
)

0 commit comments

Comments
 (0)