git @ Cat's Eye Technologies tree / 7bc455b
Put some parens on the print statements, so it works in Python 3. Chris Pressey 8 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
4141 raise NotImplementedError(filename_format)
4242
4343 for subdirname in dirnames:
44 print indent + subdirname + '/'
44 print(indent + subdirname + '/')
4545 print_tree(os.path.join(dirname, subdirname), indent + ' ',
4646 filename_format, maxwidth=maxwidth)
4747
4848 for file_line in file_lines:
4949 if file_line:
50 print indent + file_line
50 print(indent + file_line)
5151
5252
5353 def main(args):