Commit 97cc1dfc authored by Umang Yadav's avatar Umang Yadav Committed by Chris Austen
Browse files

Use free regular_file function for SLES which uses experimental files… (#2028)

parent e8d1a1aa
......@@ -35,9 +35,9 @@ static std::vector<fs::path> find_available_python_versions()
auto path = dynamic_loader::path(&load_py).parent_path();
for(const auto& entry : fs::directory_iterator{path})
{
if(not entry.is_regular_file())
continue;
auto p = entry.path();
if(not fs::is_regular_file(p))
continue;
if(not contains(p.stem().string(), "migraphx_py_"))
continue;
result.push_back(p);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment