Skip to content

Commit

Permalink
replace run_cmd with run_shell_cmd in custom easyblock for crypto…
Browse files Browse the repository at this point in the history
…graphy (`cryptography.py`)
  • Loading branch information
branfosj committed Jan 29, 2024
1 parent 2d50f44 commit 545e127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/easyblocks/c/cryptography.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from easybuild.tools import LooseVersion

from easybuild.easyblocks.generic.pythonpackage import PythonPackage
from easybuild.tools.run import run_cmd
from easybuild.tools.run import run_shell_cmd


class EB_cryptography(PythonPackage):
Expand All @@ -57,5 +57,5 @@ def sanity_check_step(self, *args, **kwargs):
if success:
# Check module added in v0.7 leading to issue #9446 (see above)
if LooseVersion(self.version) >= LooseVersion("0.7"):
run_cmd("python -c 'from cryptography.hazmat.bindings.openssl import binding'")
run_shell_cmd("python -c 'from cryptography.hazmat.bindings.openssl import binding'")
return success, fail_msg

0 comments on commit 545e127

Please sign in to comment.