summaryrefslogtreecommitdiff
path: root/extra/webkitgtk/python3.patch
blob: efd64004301159804c59967cec1619d34a48a37c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/Tools/gtk/generate-feature-defines-files b/Tools/gtk/generate-feature-defines-files
index 1a92bf50a05831655308cb62646eb05a6db4b63c..f5b2c7e61eab12bf0eb25b0f9c595f2fd83ebbe9 100755
--- a/Tools/gtk/generate-feature-defines-files
+++ b/Tools/gtk/generate-feature-defines-files
@@ -32,13 +32,13 @@ def write_file_if_contents_changed(filename, contents):
 
 def write_feature_defines_header(feature_defines):
     contents = ''
-    for (feature, value) in feature_defines.iteritems():
+    for (feature, value) in feature_defines.items():
         contents += '#define {0} {1}\n'.format(feature, value)
     write_file_if_contents_changed("WebKitFeatures.h", contents)
 
 def write_flattened_feature_defines_file(feature_defines):
     contents = ''
-    for (feature, value) in feature_defines.iteritems():
+    for (feature, value) in feature_defines.items():
         contents += '{0}={1}\n'.format(feature, value)
     write_file_if_contents_changed("WebKitFeatures.txt", contents)