From 2089dc7fced23f02dd6f889c10c1a9b2682bc4ed Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Mon, 1 Nov 2004 19:13:18 +0000 Subject: [PATCH] xrange --- direct/src/showbase/Finder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/showbase/Finder.py b/direct/src/showbase/Finder.py index a465d6c0c2..4f1b280c44 100644 --- a/direct/src/showbase/Finder.py +++ b/direct/src/showbase/Finder.py @@ -58,7 +58,7 @@ def findClass(namespace, className): def rebindClass(builtinGlobals, filename): file = open(filename, 'r') lines = file.readlines() - for i in range(len(lines)): + for i in xrange(len(lines)): line = lines[i] if (line[0:6] == 'class '): # Chop off the "class " syntax and strip extra whitespace