diff options
Diffstat (limited to 'Lib/sndhdr.py')
-rw-r--r-- | Lib/sndhdr.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/sndhdr.py b/Lib/sndhdr.py index df2ccf1..f505804 100644 --- a/Lib/sndhdr.py +++ b/Lib/sndhdr.py @@ -208,21 +208,21 @@ def testall(list, recursive, toplevel): import os for filename in list: if os.path.isdir(filename): - print filename + '/:', + print(filename + '/:', end=' ') if recursive or toplevel: - print 'recursing down:' + print('recursing down:') import glob names = glob.glob(os.path.join(filename, '*')) testall(names, recursive, 0) else: - print '*** directory (use -r) ***' + print('*** directory (use -r) ***') else: - print filename + ':', + print(filename + ':', end=' ') sys.stdout.flush() try: - print what(filename) + print(what(filename)) except IOError: - print '*** not found ***' + print('*** not found ***') if __name__ == '__main__': test() |