GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gyp: list(dict) so we can del dict(key) while iterating · nodejs/node-gyp@14f2a07

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • gyp/pylib/gyp
    • input.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎gyp/pylib/gyp/input.py‎

Copy file name to clipboardExpand all lines: gyp/pylib/gyp/input.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2286,7 +2286,7 @@ def SetUpConfigurations(target, target_dict):
22862286
merged_configurations[configuration])
22872287

22882288
# Now drop all the abstract ones.
2289-
for configuration in target_dict['configurations'].keys():
2289+
for configuration in list(target_dict['configurations']):
22902290
old_configuration_dict = target_dict['configurations'][configuration]
22912291
if old_configuration_dict.get('abstract'):
22922292
del target_dict['configurations'][configuration]

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.