Skip to content

Commit c622e77

Browse files
author
Caspar van Leeuwen
committed
Fix hound issues
1 parent 3b64e2b commit c622e77

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

easybuild/easyblocks/p/python.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,13 @@ def extra_options():
302302
'ulimit_unlimited': [False, "Ensure stack size limit is set to '%s' during build" % UNLIMITED, CUSTOM],
303303
'use_lto': [None, "Build with Link Time Optimization (>= v3.7.0, potentially unstable on some toolchains). "
304304
"If None: auto-detect based on toolchain compiler (version)", CUSTOM],
305-
'patch_ctypes_ld_library_path': [None, "The ctypes module strongly relies on LD_LIBRARY_PATH to find "
306-
"libraries. This allows specifying a patch that will only be "
307-
"applied if EasyBuild is configured to filter LD_LIBRARY_PATH, in "
308-
"order to make sure ctypes can still find libraries without it. "
309-
"Please make sure to add the checksum for this patch to 'checksums'.",
310-
CUSTOM],
305+
'patch_ctypes_ld_library_path': [None,
306+
"The ctypes module strongly relies on LD_LIBRARY_PATH to find "
307+
"libraries. This allows specifying a patch that will only be "
308+
"applied if EasyBuild is configured to filter LD_LIBRARY_PATH, in "
309+
"order to make sure ctypes can still find libraries without it. "
310+
"Please make sure to add the checksum for this patch to 'checksums'.",
311+
CUSTOM],
311312
}
312313
return ConfigureMake.extra_options(extra_vars)
313314

@@ -378,7 +379,7 @@ def fetch_step(self, *args, **kwargs):
378379
sources = self.cfg['sources']
379380
patches = self.cfg.get('patches')
380381
len_patches = len(patches) if patches else 0
381-
if len_patchs + len(sources) + 1 == len(checksums):
382+
if len_patches + len(sources) + 1 == len(checksums):
382383
msg = "EasyBuild was configured to filter LD_LIBRARY_PATH (and not to filter LIBRARY_PATH). "
383384
msg += "The ctypes module relies heavily on LD_LIBRARY_PATH for locating its libraries. "
384385
msg += "The following patches will be applied to make sure ctypes.CDLL, ctypes.cdll.LoadLibrary "

0 commit comments

Comments
 (0)