summaryrefslogtreecommitdiffstats
path: root/Doc/tools/indfix.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/tools/indfix.py')
-rwxr-xr-xDoc/tools/indfix.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/tools/indfix.py b/Doc/tools/indfix.py
index 6e8e911..5bab0fb 100755
--- a/Doc/tools/indfix.py
+++ b/Doc/tools/indfix.py
@@ -19,13 +19,12 @@ isn't part of a group of similar items is not modified.
__version__ = '$Revision$'
import re
-import string
import StringIO
import sys
-def cmp_entries(e1, e2, lower=string.lower):
- return cmp(lower(e1[1]), lower(e2[1])) or cmp(e1, e2)
+def cmp_entries(e1, e2):
+ return cmp(e1[1].lower(), e2[1].lower()) or cmp(e1, e2)
def dump_entries(write, entries):