Skip to content

Commit

Permalink
fix call to os.path.isfile() (#1152)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlapre authored Oct 4, 2024
1 parent 21c5130 commit bffb651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sst/core/testingframework/sst_unittest_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -1825,7 +1825,7 @@ def _get_linux_distribution():
# Until we have other OS's, this is Ubuntu.
distname = "ubuntu"
distver = _get_linux_version("/etc/lsb-release", " ")
elif os.path.isfile("/etc/rocky-release", " "):
elif os.path.isfile("/etc/rocky-release"):
distname = "rocky"
distver = _get_linux_version("/etc/rocky-release", " ")
rtn_data = (distname, distver)
Expand Down

0 comments on commit bffb651

Please sign in to comment.