diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-23 19:07:30 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-23 19:07:30 -0400 |
commit | 944c63e6f26d1f05ba6f63c60f510d3796872f3e (patch) | |
tree | e1fc54319c2c42c16a64e95930acaca063658863 /contrib/ledger-du | |
parent | 057506ab6dddbfb75d1bb29289602f375ca57df5 (diff) | |
download | fork-ledger-944c63e6f26d1f05ba6f63c60f510d3796872f3e.tar.gz fork-ledger-944c63e6f26d1f05ba6f63c60f510d3796872f3e.tar.bz2 fork-ledger-944c63e6f26d1f05ba6f63c60f510d3796872f3e.zip |
The Great Renaming, Part II
The last commit did not contain the majority of changes because of a
slight mishap. This contains the real changeset.
Diffstat (limited to 'contrib/ledger-du')
-rwxr-xr-x | contrib/ledger-du | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/ledger-du b/contrib/ledger-du index f5d7dd7d..580e916e 100755 --- a/contrib/ledger-du +++ b/contrib/ledger-du @@ -23,14 +23,14 @@ def report_file(path): print def find_files(path): - entries = os.listdir(path) - for entry in entries: - entry = join(path, entry) - if not islink(entry): - if isdir(entry) and entry != "/proc": - find_files(entry) + xacts = os.listdir(path) + for xact in xacts: + xact = join(path, xact) + if not islink(xact): + if isdir(xact) and xact != "/proc": + find_files(xact) else: - report_file(entry) + report_file(xact) args = sys.argv[1:] if len(args): |