diff options
Diffstat (limited to 'test/TAR')
-rw-r--r-- | test/TAR/TAR.py | 2 | ||||
-rw-r--r-- | test/TAR/TARFLAGS.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/TAR/TAR.py b/test/TAR/TAR.py index ac8d791..5a19a98 100644 --- a/test/TAR/TAR.py +++ b/test/TAR/TAR.py @@ -44,6 +44,8 @@ for opt, arg in opts: if opt == '-f': out = arg def process(outfile, name): if os.path.isdir(name): + ## TODO 2.5: the next three lines can be replaced by + #for entry in sorted(os.listdir(name)): list = os.listdir(name) list.sort() for entry in list: diff --git a/test/TAR/TARFLAGS.py b/test/TAR/TARFLAGS.py index f349b3a..96d61fe 100644 --- a/test/TAR/TARFLAGS.py +++ b/test/TAR/TARFLAGS.py @@ -46,6 +46,8 @@ for opt, arg in cmd_opts: else: opt_string = opt_string + ' ' + opt def process(outfile, name): if os.path.isdir(name): + ## TODO 2.5: the next three lines can be replaced by + #for entry in sorted(os.listdir(name)): entries = os.listdir(name) entries.sort() for entry in entries: |