From 4a77a445d15704fa40eed3ce33922554e43afbb0 Mon Sep 17 00:00:00 2001 From: d-w-moore Date: Tue, 8 Oct 2024 05:57:02 -0400 Subject: [PATCH] codacy --- irods/__init__.py | 2 +- irods/account.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/irods/__init__.py b/irods/__init__.py index a9fb90ac..875257d3 100644 --- a/irods/__init__.py +++ b/irods/__init__.py @@ -16,7 +16,7 @@ def env_filename_from_keyword_args(kwargs): def derived_auth_filename(env_filename): if not env_filename: return '' - default_irods_authentication_file = os.path.join(os.path.dirname(env_file),'.irodsA') + default_irods_authentication_file = os.path.join(os.path.dirname(env_filename),'.irodsA') return os.environ.get('IRODS_AUTHENTICATION_FILE', default_irods_authentication_file) # This has no effect if basicConfig() was previously called. diff --git a/irods/account.py b/irods/account.py index f9ec198a..3f8564fb 100644 --- a/irods/account.py +++ b/irods/account.py @@ -1,4 +1,3 @@ -import os from irods import derived_auth_filename class iRODSAccount(object):