Ran 2to3 over scripts directory.

This commit is contained in:
Georg Brandl 2008-05-16 15:23:30 +00:00
parent d11ae5d6ec
commit 8efadf5d66
19 changed files with 74 additions and 86 deletions

View file

@ -11,11 +11,10 @@ def main():
suffixes = {}
for filename in files:
suff = getsuffix(filename)
if not suffixes.has_key(suff):
if suff not in suffixes:
suffixes[suff] = []
suffixes[suff].append(filename)
keys = suffixes.keys()
keys.sort()
keys = sorted(suffixes.keys())
for suff in keys:
print(repr(suff), len(suffixes[suff]))