diff pytouhou/formats/sht.py @ 590:e15672733c93

Switch to Python 3.x instead of 2.7.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 30 Sep 2014 17:14:24 +0200
parents e59bd7979ddc
children d1f0bb0b7a17
line wrap: on
line diff
--- a/pytouhou/formats/sht.py
+++ b/pytouhou/formats/sht.py
@@ -68,7 +68,7 @@ class SHT(object):
          sht.diagonal_speed, sht.diagonal_focused_speed) = data
 
         levels = []
-        for i in xrange(level_count):
+        for i in range(level_count):
             offset, power = unpack('<II', file.read(8))
             levels.append((power, offset))