diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-25 00:11:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 00:11:52 +0200 |
commit | ccf07f47adf10f1d8bcfd5fc005024d107c2ff7e (patch) | |
tree | bfcd593cc5b65f140bb81583b781d51d3a14b6f9 | |
parent | e71184667ef09e2cd797219ceb598988a9b33801 (diff) | |
parent | 7ec6392d462a28ce3f9630e7299d279ccd577111 (diff) |
Merge pull request #54203 from object71/fix-collections-modules-py
-rw-r--r-- | methods.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/methods.py b/methods.py index 77a1085baf..b2eb7b7c77 100644 --- a/methods.py +++ b/methods.py @@ -1,9 +1,9 @@ -import collections import os import re import glob import subprocess from collections import OrderedDict +from collections.abc import Mapping from typing import Iterator # We need to define our own `Action` method to control the verbosity of output @@ -662,7 +662,7 @@ def generate_vs_project(env, num_jobs): batch_file = find_visual_c_batch_file(env) if batch_file: - class ModuleConfigs(collections.Mapping): + class ModuleConfigs(Mapping): # This version information (Win32, x64, Debug, Release, Release_Debug seems to be # required for Visual Studio to understand that it needs to generate an NMAKE # project. Do not modify without knowing what you are doing. |