From 8d72ccdf9b5bd684ed3314074679ceaf4bafbb1c Mon Sep 17 00:00:00 2001 From: Luke Hoffmann Date: Thu, 22 Aug 2024 16:26:03 +1000 Subject: [PATCH] Fix typing error --- source/fab/tools/linker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/fab/tools/linker.py b/source/fab/tools/linker.py index 6b62fd45..5b8b474b 100644 --- a/source/fab/tools/linker.py +++ b/source/fab/tools/linker.py @@ -9,7 +9,7 @@ import os from pathlib import Path -from typing import cast, List, Optional +from typing import cast, Dict, List, Optional from fab.tools.category import Category from fab.tools.compiler import Compiler @@ -52,7 +52,7 @@ def __init__(self, name: Optional[str] = None, self.flags.extend(os.getenv("LDFLAGS", "").split()) # Maintain a set of flags for common libraries. - self._lib_flags: dict[str, List[str]] = {} + self._lib_flags: Dict[str, List[str]] = {} # Include netcdf as an example, since it is reasonable portable self.add_lib_flags( 'netcdf',