diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-01-17 08:48:39 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-01-17 08:48:39 (GMT) |
commit | 70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7 (patch) | |
tree | cf47b67db3753288cfd9fa2adc45e7c5cd2f8741 /Tools/scripts/lll.py | |
parent | a88854059309667092000da55d4d5a5804267e9f (diff) | |
download | cpython-70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7.zip cpython-70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7.tar.gz cpython-70c4378dbcfdcbeef6fb3aa348f32ed862fe8eb7.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Tools/scripts/lll.py')
-rwxr-xr-x | Tools/scripts/lll.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Tools/scripts/lll.py b/Tools/scripts/lll.py index d107080..cbcd80a 100755 --- a/Tools/scripts/lll.py +++ b/Tools/scripts/lll.py @@ -8,18 +8,18 @@ import sys, os def lll(dirname): - for name in os.listdir(dirname): - if name not in (os.curdir, os.pardir): - full = os.path.join(dirname, name) - if os.path.islink(full): - print name, '->', os.readlink(full) + for name in os.listdir(dirname): + if name not in (os.curdir, os.pardir): + full = os.path.join(dirname, name) + if os.path.islink(full): + print name, '->', os.readlink(full) args = sys.argv[1:] if not args: args = [os.curdir] first = 1 for arg in args: - if len(args) > 1: - if not first: print - first = 0 - print arg + ':' - lll(arg) + if len(args) > 1: + if not first: print + first = 0 + print arg + ':' + lll(arg) |