| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,13 @@ | |||
| 1 | 1 | # Changelog | |
| 2 | 2 | ||
| 3 | + ## [0.18.2](https://github.com/nodejs/gyp-next/compare/v0.18.1...v0.18.2) (2024-09-23) | ||
| 4 | + | ||
| 5 | + | ||
| 6 | + ### Bug Fixes | ||
| 7 | + | ||
| 8 | + * do not assume that /usr/bin/env exists on macOS ([#216](https://github.com/nodejs/gyp-next/issues/216)) ([706d04a](https://github.com/nodejs/gyp-next/commit/706d04aba5bd18f311dc56f84720e99f64c73466)) | ||
| 9 | + * fix E721 lint errors ([#206](https://github.com/nodejs/gyp-next/issues/206)) ([d1299a4](https://github.com/nodejs/gyp-next/commit/d1299a49d313eccabecf97ccb56fc033afad39ad)) | ||
| 10 | + | ||
| 3 | 11 | ## [0.18.1](https://github.com/nodejs/gyp-next/compare/v0.18.0...v0.18.1) (2024-05-26) | |
| 4 | 12 | ||
| 5 | 13 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,7 +34,7 @@ See [Testing](Testing.md) for more details on the test framework. | |||
| 34 | 34 | Note that it can be handy to look at the project files output by the tests | |
| 35 | 35 | to diagnose problems. The easiest way to do that is by kindly asking the | |
| 36 | 36 | test driver to leave the temporary directories it creates in-place. | |
| 37 | - This is done by setting the enviroment variable "PRESERVE", e.g. | ||
| 37 | + This is done by setting the environment variable "PRESERVE", e.g. | ||
| 38 | 38 | ||
| 39 | 39 | ``` | |
| 40 | 40 | set PRESERVE=all # On Windows | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -157,7 +157,7 @@ have structural meaning for target definitions: | |||
| 157 | 157 | | `all_dependent_settings` | A dictionary of settings to be applied to all dependents of the target, transitively. This includes direct dependents and the entire set of their dependents, and so on. This section may contain anything found within a `target` dictionary, except `configurations`, `target_name`, and `type` sections. Compare `direct_dependent_settings` and `link_settings`. | | |
| 158 | 158 | | `configurations` | A list of dictionaries defining build configurations for the target. See the "Configurations" section below. | | |
| 159 | 159 | | `copies` | A list of copy actions to perform. See the "Copies" section below. | | |
| 160 | - | `defines` | A list of preprocesor definitions to be passed on the command line to the C/C++ compiler (via `-D` or `/D` options). | | ||
| 160 | + | `defines` | A list of preprocessor definitions to be passed on the command line to the C/C++ compiler (via `-D` or `/D` options). | | ||
| 161 | 161 | | `dependencies` | A list of targets on which this target depends. Targets in other `.gyp` files are specified as `../path/to/other.gyp:target_we_want`. | | |
| 162 | 162 | | `direct_dependent_settings` | A dictionary of settings to be applied to other targets that depend on this target. These settings will only be applied to direct dependents. This section may contain anything found within a `target` dictionary, except `configurations`, `target_name`, and `type` sections. Compare with `all_dependent_settings` and `link_settings`. | | |
| 163 | 163 | | `include_dirs` | A list of include directories to be passed on the command line to the C/C++ compiler (via `-I` or `/I` options). | | |
@@ -208,8 +208,8 @@ Configuration dictionaries may also contain these elements: | |||
| 208 | 208 | ||
| 209 | 209 | Conditionals may appear within any dictionary in a `.gyp` file. There | |
| 210 | 210 | are two tpes of conditionals, which differ only in the timing of their | |
| 211 | - processing. `conditons` sections are processed shortly after loading | ||
| 212 | - `.gyp` files, and `target_conditons` sections are processed after all | ||
| 211 | + processing. `conditions` sections are processed shortly after loading | ||
| 212 | + `.gyp` files, and `target_conditions` sections are processed after all | ||
| 213 | 213 | dependencies have been computed. | |
| 214 | 214 | ||
| 215 | 215 | A conditional section is introduced with a `conditions` or | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -392,15 +392,15 @@ fails the test if it does. | |||
| 392 | 392 | ||
| 393 | 393 | Verifies that the output string contains all of the "lines" in the specified | |
| 394 | 394 | list of lines. In practice, the lines can be any substring and need not be | |
| 395 | - `\n`-terminaed lines per se. If any line is missing, the test fails. | ||
| 395 | + `\n`-terminated lines per se. If any line is missing, the test fails. | ||
| 396 | 396 | ||
| 397 | 397 | ``` | |
| 398 | 398 | test.must_not_contain_any_lines(output, lines) | |
| 399 | 399 | ``` | |
| 400 | 400 | ||
| 401 | 401 | Verifies that the output string does _not_ contain any of the "lines" in the | |
| 402 | 402 | specified list of lines. In practice, the lines can be any substring and need | |
| 403 | - not be `\n`-terminaed lines per se. If any line exists in the output string, | ||
| 403 | + not be `\n`-terminated lines per se. If any line exists in the output string, | ||
| 404 | 404 | the test fails. | |
| 405 | 405 | ||
| 406 | 406 | ``` | |
@@ -409,7 +409,7 @@ the test fails. | |||
| 409 | 409 | ||
| 410 | 410 | Verifies that the output string contains at least one of the "lines" in the | |
| 411 | 411 | specified list of lines. In practice, the lines can be any substring and need | |
| 412 | - not be `\n`-terminaed lines per se. If none of the specified lines is present, | ||
| 412 | + not be `\n`-terminated lines per se. If none of the specified lines is present, | ||
| 413 | 413 | the test fails. | |
| 414 | 414 | ||
| 415 | 415 | ### Reading file contents | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -104,7 +104,7 @@ describing all the information necessary to build the target. | |||
| 104 | 104 | ||
| 105 | 105 | `'conditions'`: A list of condition specifications that can modify the | |
| 106 | 106 | contents of the items in the global dictionary defined by this `.gyp` | |
| 107 | - file based on the values of different variablwes. As implied by the | ||
| 107 | + file based on the values of different variables. As implied by the | ||
| 108 | 108 | above example, the most common use of a `conditions` section in the | |
| 109 | 109 | top-level dictionary is to add platform-specific targets to the | |
| 110 | 110 | `targets` list. | |
@@ -375,7 +375,7 @@ If your platform-specific file does not contain a | |||
| 375 | 375 | already in the `conditions` for the target), and you can't change the | |
| 376 | 376 | file name, there are two patterns that can be used. | |
| 377 | 377 | ||
| 378 | - **Prefererred**: Add the file to the `sources` list of the appropriate | ||
| 378 | + **Preferred**: Add the file to the `sources` list of the appropriate | ||
| 379 | 379 | dictionary within the `targets` list. Add an appropriate `conditions` | |
| 380 | 380 | section to exclude the specific files name: | |
| 381 | 381 | ||
@@ -807,7 +807,7 @@ directory: | |||
| 807 | 807 | ``` | |
| 808 | 808 | ||
| 809 | 809 | Adding a library often involves updating multiple `.gyp` files, adding | |
| 810 | - the target to the approprate `.gyp` file (possibly a newly-added `.gyp` | ||
| 810 | + the target to the appropriate `.gyp` file (possibly a newly-added `.gyp` | ||
| 811 | 811 | file), and updating targets in the other `.gyp` files that depend on | |
| 812 | 812 | (link with) the new library. | |
| 813 | 813 | ||
@@ -858,7 +858,7 @@ because of those settings' being listed in the | |||
| 858 | 858 | `direct_dependent_settings` block. | |
| 859 | 859 | ||
| 860 | 860 | Note that these settings will likely need to be replicated in the | |
| 861 | - settings for the library target itsef, so that the library will build | ||
| 861 | + settings for the library target itself, so that the library will build | ||
| 862 | 862 | with the same options. This does not prevent the target from defining | |
| 863 | 863 | additional options for its "internal" use when compiling its own source | |
| 864 | 864 | files. (In the above example, these are the `LOCAL_DEFINE_FOR_LIBBAR` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -699,7 +699,7 @@ def find_matching_test_target_names(self): | |||
| 699 | 699 | ) & set(self._root_targets) | |
| 700 | 700 | if matching_test_targets_contains_all: | |
| 701 | 701 | # Remove any of the targets for all that were not explicitly supplied, | |
| 702 | - # 'all' is subsequentely added to the matching names below. | ||
| 702 | + # 'all' is subsequently added to the matching names below. | ||
| 703 | 703 | matching_test_targets = list( | |
| 704 | 704 | set(matching_test_targets) & set(test_targets_no_all) | |
| 705 | 705 | ) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -769,7 +769,7 @@ def ExtractIncludesFromCFlags(self, cflags): | |||
| 769 | 769 | Args: | |
| 770 | 770 | cflags: A list of compiler flags, which may be mixed with "-I.." | |
| 771 | 771 | Returns: | |
| 772 | - A tuple of lists: (clean_clfags, include_paths). "-I.." is trimmed. | ||
| 772 | + A tuple of lists: (clean_cflags, include_paths). "-I.." is trimmed. | ||
| 773 | 773 | """ | |
| 774 | 774 | clean_cflags = [] | |
| 775 | 775 | include_paths = [] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -251,7 +251,7 @@ def WriteActions(target_name, actions, extra_sources, extra_deps, path_to_gyp, o | |||
| 251 | 251 | target_name: the name of the CMake target being generated. | |
| 252 | 252 | actions: the Gyp 'actions' dict for this target. | |
| 253 | 253 | extra_sources: [(<cmake_src>, <src>)] to append with generated source files. | |
| 254 | - extra_deps: [<cmake_taget>] to append with generated targets. | ||
| 254 | + extra_deps: [<cmake_target>] to append with generated targets. | ||
| 255 | 255 | path_to_gyp: relative path from CMakeLists.txt being generated to | |
| 256 | 256 | the Gyp file in which the target being generated is defined. | |
| 257 | 257 | """ | |
@@ -340,7 +340,7 @@ def WriteRules(target_name, rules, extra_sources, extra_deps, path_to_gyp, outpu | |||
| 340 | 340 | target_name: the name of the CMake target being generated. | |
| 341 | 341 | actions: the Gyp 'actions' dict for this target. | |
| 342 | 342 | extra_sources: [(<cmake_src>, <src>)] to append with generated source files. | |
| 343 | - extra_deps: [<cmake_taget>] to append with generated targets. | ||
| 343 | + extra_deps: [<cmake_target>] to append with generated targets. | ||
| 344 | 344 | path_to_gyp: relative path from CMakeLists.txt being generated to | |
| 345 | 345 | the Gyp file in which the target being generated is defined. | |
| 346 | 346 | """ | |
@@ -457,7 +457,7 @@ def WriteCopies(target_name, copies, extra_deps, path_to_gyp, output): | |||
| 457 | 457 | Args: | |
| 458 | 458 | target_name: the name of the CMake target being generated. | |
| 459 | 459 | actions: the Gyp 'actions' dict for this target. | |
| 460 | - extra_deps: [<cmake_taget>] to append with generated targets. | ||
| 460 | + extra_deps: [<cmake_target>] to append with generated targets. | ||
| 461 | 461 | path_to_gyp: relative path from CMakeLists.txt being generated to | |
| 462 | 462 | the Gyp file in which the target being generated is defined. | |
| 463 | 463 | """ | |
@@ -603,7 +603,7 @@ class CMakeNamer: | |||
| 603 | 603 | """ | |
| 604 | 604 | ||
| 605 | 605 | def __init__(self, target_list): | |
| 606 | - self.cmake_target_base_names_conficting = set() | ||
| 606 | + self.cmake_target_base_names_conflicting = set() | ||
| 607 | 607 | ||
| 608 | 608 | cmake_target_base_names_seen = set() | |
| 609 | 609 | for qualified_target in target_list: | |
@@ -612,11 +612,11 @@ def __init__(self, target_list): | |||
| 612 | 612 | if cmake_target_base_name not in cmake_target_base_names_seen: | |
| 613 | 613 | cmake_target_base_names_seen.add(cmake_target_base_name) | |
| 614 | 614 | else: | |
| 615 | - self.cmake_target_base_names_conficting.add(cmake_target_base_name) | ||
| 615 | + self.cmake_target_base_names_conflicting.add(cmake_target_base_name) | ||
| 616 | 616 | ||
| 617 | 617 | def CreateCMakeTargetName(self, qualified_target): | |
| 618 | 618 | base_name = CreateCMakeTargetBaseName(qualified_target) | |
| 619 | - if base_name in self.cmake_target_base_names_conficting: | ||
| 619 | + if base_name in self.cmake_target_base_names_conflicting: | ||
| 620 | 620 | return CreateCMakeTargetFullName(qualified_target) | |
| 621 | 621 | return base_name | |
| 622 | 622 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -208,7 +208,7 @@ def CalculateGeneratorInputInfo(params): | |||
| 208 | 208 | ||
| 209 | 209 | LINK_COMMANDS_MAC = """\ | |
| 210 | 210 | quiet_cmd_alink = LIBTOOL-STATIC $@ | |
| 211 | - cmd_alink = rm -f $@ && ./gyp-mac-tool filter-libtool libtool $(GYP_LIBTOOLFLAGS) -static -o $@ $(filter %.o,$^) | ||
| 211 | + cmd_alink = rm -f $@ && %(python)s gyp-mac-tool filter-libtool libtool $(GYP_LIBTOOLFLAGS) -static -o $@ $(filter %%.o,$^) | ||
| 212 | 212 | ||
| 213 | 213 | quiet_cmd_link = LINK($(TOOLSET)) $@ | |
| 214 | 214 | cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS) | |
@@ -218,7 +218,7 @@ def CalculateGeneratorInputInfo(params): | |||
| 218 | 218 | ||
| 219 | 219 | quiet_cmd_solink_module = SOLINK_MODULE($(TOOLSET)) $@ | |
| 220 | 220 | cmd_solink_module = $(LINK.$(TOOLSET)) -bundle $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ $(filter-out FORCE_DO_CMD, $^) $(LIBS) | |
| 221 | - """ # noqa: E501 | ||
| 221 | + """ % {'python': sys.executable} # noqa: E501 | ||
| 222 | 222 | ||
| 223 | 223 | LINK_COMMANDS_ANDROID = """\ | |
| 224 | 224 | quiet_cmd_alink = AR($(TOOLSET)) $@ | |
@@ -609,14 +609,14 @@ def CalculateGeneratorInputInfo(params): | |||
| 609 | 609 | # Use $(4) for the command, since $(2) and $(3) are used as flag by do_cmd | |
| 610 | 610 | # already. | |
| 611 | 611 | quiet_cmd_mac_tool = MACTOOL $(4) $< | |
| 612 | - cmd_mac_tool = ./gyp-mac-tool $(4) $< "$@" | ||
| 612 | + cmd_mac_tool = %(python)s gyp-mac-tool $(4) $< "$@" | ||
| 613 | 613 | ||
| 614 | 614 | quiet_cmd_mac_package_framework = PACKAGE FRAMEWORK $@ | |
| 615 | - cmd_mac_package_framework = ./gyp-mac-tool package-framework "$@" $(4) | ||
| 615 | + cmd_mac_package_framework = %(python)s gyp-mac-tool package-framework "$@" $(4) | ||
| 616 | 616 | ||
| 617 | 617 | quiet_cmd_infoplist = INFOPLIST $@ | |
| 618 | 618 | cmd_infoplist = $(CC.$(TOOLSET)) -E -P -Wno-trigraphs -x c $(INFOPLIST_DEFINES) "$<" -o "$@" | |
| 619 | - """ # noqa: E501 | ||
| 619 | + """ % {'python': sys.executable} # noqa: E501 | ||
| 620 | 620 | ||
| 621 | 621 | ||
| 622 | 622 | def WriteRootHeaderSuffixRules(writer): | |
@@ -1834,7 +1834,7 @@ def WriteTarget( | |||
| 1834 | 1834 | # Since this target depends on binary and resources which are in | |
| 1835 | 1835 | # nested subfolders, the framework directory will be older than | |
| 1836 | 1836 | # its dependencies usually. To prevent this rule from executing | |
| 1837 | - # on every build (expensive, especially with postbuilds), expliclity | ||
| 1837 | + # on every build (expensive, especially with postbuilds), explicitly | ||
| 1838 | 1838 | # update the time on the framework directory. | |
| 1839 | 1839 | self.WriteLn("\t@touch -c %s" % QuoteSpaces(self.output)) | |
| 1840 | 1840 | ||
@@ -2498,7 +2498,7 @@ def CalculateMakefilePath(build_file, base_name): | |||
| 2498 | 2498 | "PLI.host": PLI_host, | |
| 2499 | 2499 | } | |
| 2500 | 2500 | if flavor == "mac": | |
| 2501 | - flock_command = "./gyp-mac-tool flock" | ||
| 2501 | + flock_command = "%s gyp-mac-tool flock" % sys.executable | ||
| 2502 | 2502 | header_params.update( | |
| 2503 | 2503 | { | |
| 2504 | 2504 | "flock": flock_command, | |
@@ -2548,7 +2548,7 @@ def CalculateMakefilePath(build_file, base_name): | |||
| 2548 | 2548 | header_params.update( | |
| 2549 | 2549 | { | |
| 2550 | 2550 | "copy_archive_args": copy_archive_arguments, | |
| 2551 | - "flock": "./gyp-flock-tool flock", | ||
| 2551 | + "flock": "%s gyp-flock-tool flock" % sys.executable, | ||
| 2552 | 2552 | "flock_index": 2, | |
| 2553 | 2553 | } | |
| 2554 | 2554 | ) | |
@@ -2564,7 +2564,7 @@ def CalculateMakefilePath(build_file, base_name): | |||
| 2564 | 2564 | { | |
| 2565 | 2565 | "copy_archive_args": copy_archive_arguments, | |
| 2566 | 2566 | "link_commands": LINK_COMMANDS_AIX, | |
| 2567 | - "flock": "./gyp-flock-tool flock", | ||
| 2567 | + "flock": "%s gyp-flock-tool flock" % sys.executable, | ||
| 2568 | 2568 | "flock_index": 2, | |
| 2569 | 2569 | } | |
| 2570 | 2570 | ) | |
@@ -2574,7 +2574,7 @@ def CalculateMakefilePath(build_file, base_name): | |||
| 2574 | 2574 | { | |
| 2575 | 2575 | "copy_archive_args": copy_archive_arguments, | |
| 2576 | 2576 | "link_commands": LINK_COMMANDS_OS400, | |
| 2577 | - "flock": "./gyp-flock-tool flock", | ||
| 2577 | + "flock": "%s gyp-flock-tool flock" % sys.executable, | ||
| 2578 | 2578 | "flock_index": 2, | |
| 2579 | 2579 | } | |
| 2580 | 2580 | ) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -276,7 +276,7 @@ def _ToolAppend(tools, tool_name, setting, value, only_if_unset=False): | |||
| 276 | 276 | def _ToolSetOrAppend(tools, tool_name, setting, value, only_if_unset=False): | |
| 277 | 277 | # TODO(bradnelson): ugly hack, fix this more generally!!! | |
| 278 | 278 | if "Directories" in setting or "Dependencies" in setting: | |
| 279 | - if type(value) == str: | ||
| 279 | + if isinstance(value, str): | ||
| 280 | 280 | value = value.replace("/", "\\") | |
| 281 | 281 | else: | |
| 282 | 282 | value = [i.replace("/", "\\") for i in value] | |
@@ -288,7 +288,7 @@ def _ToolSetOrAppend(tools, tool_name, setting, value, only_if_unset=False): | |||
| 288 | 288 | if tool.get(setting): | |
| 289 | 289 | if only_if_unset: | |
| 290 | 290 | return | |
| 291 | - if type(tool[setting]) == list and type(value) == list: | ||
| 291 | + if isinstance(tool[setting], list) and isinstance(value, list): | ||
| 292 | 292 | tool[setting] += value | |
| 293 | 293 | else: | |
| 294 | 294 | raise TypeError( | |
@@ -1423,7 +1423,7 @@ def _ConvertToolsToExpectedForm(tools): | |||
| 1423 | 1423 | # Collapse settings with lists. | |
| 1424 | 1424 | settings_fixed = {} | |
| 1425 | 1425 | for setting, value in settings.items(): | |
| 1426 | - if type(value) == list: | ||
| 1426 | + if isinstance(value, list): | ||
| 1427 | 1427 | if ( | |
| 1428 | 1428 | tool == "VCLinkerTool" and setting == "AdditionalDependencies" | |
| 1429 | 1429 | ) or setting == "AdditionalOptions": | |
@@ -1816,7 +1816,7 @@ def _DictsToFolders(base_path, bucket, flat): | |||
| 1816 | 1816 | # Convert to folders recursively. | |
| 1817 | 1817 | children = [] | |
| 1818 | 1818 | for folder, contents in bucket.items(): | |
| 1819 | - if type(contents) == dict: | ||
| 1819 | + if isinstance(contents, dict): | ||
| 1820 | 1820 | folder_children = _DictsToFolders( | |
| 1821 | 1821 | os.path.join(base_path, folder), contents, flat | |
| 1822 | 1822 | ) | |
@@ -1838,9 +1838,10 @@ def _CollapseSingles(parent, node): | |||
| 1838 | 1838 | # Recursively explorer the tree of dicts looking for projects which are | |
| 1839 | 1839 | # the sole item in a folder which has the same name as the project. Bring | |
| 1840 | 1840 | # such projects up one level. | |
| 1841 | - if type(node) == dict and len(node) == 1 and next(iter(node)) == parent + ".vcproj": | ||
| 1841 | + if (isinstance(node, dict) and len(node) == 1 and | ||
| 1842 | + next(iter(node)) == parent + ".vcproj"): | ||
| 1842 | 1843 | return node[next(iter(node))] | |
| 1843 | - if type(node) != dict: | ||
| 1844 | + if not isinstance(node, dict): | ||
| 1844 | 1845 | return node | |
| 1845 | 1846 | for child in node: | |
| 1846 | 1847 | node[child] = _CollapseSingles(child, node[child]) | |
@@ -1860,7 +1861,7 @@ def _GatherSolutionFolders(sln_projects, project_objects, flat): | |||
| 1860 | 1861 | # Walk down from the top until we hit a folder that has more than one entry. | |
| 1861 | 1862 | # In practice, this strips the top-level "src/" dir from the hierarchy in | |
| 1862 | 1863 | # the solution. | |
| 1863 | - while len(root) == 1 and type(root[next(iter(root))]) == dict: | ||
| 1864 | + while len(root) == 1 and isinstance(root[next(iter(root))], dict): | ||
| 1864 | 1865 | root = root[next(iter(root))] | |
| 1865 | 1866 | # Collapse singles. | |
| 1866 | 1867 | root = _CollapseSingles("", root) | |
@@ -3274,7 +3275,7 @@ def _GetMSBuildPropertyGroup(spec, label, properties): | |||
| 3274 | 3275 | num_configurations = len(spec["configurations"]) | |
| 3275 | 3276 | ||
| 3276 | 3277 | def GetEdges(node): | |
| 3277 | - # Use a definition of edges such that user_of_variable -> used_varible. | ||
| 3278 | + # Use a definition of edges such that user_of_variable -> used_variable. | ||
| 3278 | 3279 | # This happens to be easier in this case, since a variable's | |
| 3279 | 3280 | # definition contains all variables it references in a single string. | |
| 3280 | 3281 | edges = set() | |
@@ -3441,7 +3442,7 @@ def _FinalizeMSBuildSettings(spec, configuration): | |||
| 3441 | 3442 | ||
| 3442 | 3443 | ||
| 3443 | 3444 | def _GetValueFormattedForMSBuild(tool_name, name, value): | |
| 3444 | - if type(value) == list: | ||
| 3445 | + if isinstance(value, list): | ||
| 3445 | 3446 | # For some settings, VS2010 does not automatically extends the settings | |
| 3446 | 3447 | # TODO(jeanluc) Is this what we want? | |
| 3447 | 3448 | if name in [ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments