Skip to content

Commit eab3bee

Browse files
committed
easyblock.py: Fix too long line
1 parent 6335b0b commit eab3bee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

easybuild/framework/easyblock.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,11 +544,12 @@ def fetch_extension_sources(self, skip_checksums=False):
544544

545545
if not skip_checksums:
546546
for patch in ext_patches:
547+
patch = patch['path']
547548
# report both MD5 and SHA256 checksums,
548549
# since both are valid default checksum types
549550
for checksum_type in (CHECKSUM_TYPE_MD5, CHECKSUM_TYPE_SHA256):
550-
checksum = compute_checksum(patch['path'], checksum_type=checksum_type)
551-
self.log.info("%s checksum for %s: %s", checksum_type, patch['path'], checksum)
551+
checksum = compute_checksum(patch, checksum_type=checksum_type)
552+
self.log.info("%s checksum for %s: %s", checksum_type, patch, checksum)
552553

553554
# verify checksum (if provided)
554555
self.log.debug('Verifying checksums for extension patches...')

0 commit comments

Comments
 (0)