summarylogtreecommitdiffstats
path: root/fontbuilder-python3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fontbuilder-python3.patch')
-rw-r--r--fontbuilder-python3.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/fontbuilder-python3.patch b/fontbuilder-python3.patch
new file mode 100644
index 000000000000..38ee86fc43d1
--- /dev/null
+++ b/fontbuilder-python3.patch
@@ -0,0 +1,16 @@
+diff --git a/fontbuilder.py b/fontbuilder.py
+index c8d8ea5..5442246 100755
+--- a/fontbuilder.py
++++ b/fontbuilder.py
+@@ -58,9 +58,9 @@ def permutations():
+ bitmap_max = 1 << count
+
+ # Iterate over all possible permutations
+- for i in xrange(bitmap_max):
++ for i in range(bitmap_max):
+ # Map the iteration's permutations using a bitmap
+- bitmap = [i >> n & 1 for n in xrange(count)]
++ bitmap = [i >> n & 1 for n in range(count)]
+ for opts in _expand_options(bitmap):
+ yield(int(float(i)/bitmap_max*100), opts)
+