summarylogtreecommitdiffstats
path: root/fontbuilder-python3.patch
blob: 38ee86fc43d13508e151a85a1d2acff9a301f421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)