Skip to content

Commit

Permalink
codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
d-w-moore committed Oct 8, 2024
1 parent 4f3f20d commit 4a77a44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion irods/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion irods/account.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
from irods import derived_auth_filename

class iRODSAccount(object):
Expand Down

0 comments on commit 4a77a44

Please sign in to comment.