Skip to content
Snippets Groups Projects
Commit d4ab23d7 authored by Hannes Feldt's avatar Hannes Feldt
Browse files

support ancient python versions as well

parent c6e1f685
No related branches found
No related tags found
1 merge request!27Fix docs
Pipeline #65322 passed with warnings
Pipeline: Python Package

#65323

    ...@@ -15,8 +15,9 @@ if not os.path.exists(clean_dir): ...@@ -15,8 +15,9 @@ if not os.path.exists(clean_dir):
    for file_name in os.listdir(clean_dir): for file_name in os.listdir(clean_dir):
    file = os.path.join(clean_dir, file_name) file = os.path.join(clean_dir, file_name)
    match file_name:
    case "index.rst": continue if file_name == "index.rst":
    case _: continue
    print(f"Removing.. {file}") print(f"Removing.. {file}")
    os.remove(file) os.remove(file)
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment