Skip to content

Commit 765521c

Browse files
committed
ref: remove redundant initializations
1 parent cf3ca2f commit 765521c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

nipype/interfaces/io.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,6 @@ def _fetch_bucket(self, bucket_name):
513513

514514
# Init variables
515515
creds_path = self.inputs.creds_path
516-
iflogger = logging.getLogger('nipype.interface')
517516

518517
# Get AWS credentials
519518
try:
@@ -587,7 +586,6 @@ def _upload_to_s3(self, bucket, src, dst):
587586
from botocore.exceptions import ClientError
588587

589588
# Init variables
590-
iflogger = logging.getLogger('nipype.interface')
591589
s3_str = 's3://'
592590
s3_prefix = s3_str + bucket.name
593591

@@ -655,7 +653,6 @@ def _list_outputs(self):
655653
"""
656654

657655
# Init variables
658-
iflogger = logging.getLogger('nipype.interface')
659656
outputs = self.output_spec().get()
660657
out_files = []
661658
# Use hardlink

0 commit comments

Comments
 (0)