Skip to content

Commit 4a77a44

Browse files
committed
codacy
1 parent 4f3f20d commit 4a77a44

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

irods/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def env_filename_from_keyword_args(kwargs):
1616
def derived_auth_filename(env_filename):
1717
if not env_filename:
1818
return ''
19-
default_irods_authentication_file = os.path.join(os.path.dirname(env_file),'.irodsA')
19+
default_irods_authentication_file = os.path.join(os.path.dirname(env_filename),'.irodsA')
2020
return os.environ.get('IRODS_AUTHENTICATION_FILE', default_irods_authentication_file)
2121

2222
# This has no effect if basicConfig() was previously called.

irods/account.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import os
21
from irods import derived_auth_filename
32

43
class iRODSAccount(object):

0 commit comments

Comments
 (0)