diff --git a/tdir b/tdir index b28a98b..39ac986 100755 --- a/tdir +++ b/tdir @@ -8,12 +8,11 @@ import getopt import os -import string import sys # Version info -VERSION = "$Id: tdir,v 1.59 2001/07/04 00:02:12 tundra Exp $" +VERSION = "$Id: tdir,v 1.60 2001/07/05 15:37:56 tundra Exp $" # Booleans @@ -42,7 +41,7 @@ ExtList = {} ExtList[""] = [] # List of files with no extension for x in list: - y = string.rfind(x, SEP) + y = x.rfind(SEP) if y != -1: # File has extension ext = x[y+1:] name = x[:y]