Commit 30949f8
build: make configure.py compatible with python 3
This patch replaces the following
1. Usage of `filter` with `None` to remove falsy items.
2. Usage of `map` to create lists. (Replaced with List comprehensions).
3. Dictionary's `iteritems` which is removed in Python 3.
PR-URL: #25580
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 021d197 commit 30949f8Copy full SHA for 30949f8
File tree
Expand file treeCollapse file tree
1 file changed
+6
-5
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
1 file changed
+6
-5
lines changedOpen diff view settings
Collapse file
+6-5Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1142 | 1142 | |
1143 | 1143 | |
1144 | 1144 | |
1145 | | - |
1146 | | - |
| 1145 | + |
| 1146 | + |
1147 | 1147 | |
1148 | 1148 | |
1149 | 1149 | |
| ||
1159 | 1159 | |
1160 | 1160 | |
1161 | 1161 | |
1162 | | - |
| 1162 | + |
1163 | 1163 | |
1164 | 1164 | |
1165 | 1165 | |
| ||
1385 | 1385 | |
1386 | 1386 | |
1387 | 1387 | |
1388 | | - |
| 1388 | + |
| 1389 | + |
1389 | 1390 | |
1390 | 1391 | |
1391 | 1392 | |
| ||
1666 | 1667 | |
1667 | 1668 | |
1668 | 1669 | |
1669 | | - |
| 1670 | + |
1670 | 1671 | |
1671 | 1672 | |
1672 | 1673 | |
|
0 commit comments