flying-circus / pyfilesystem

Automatically exported from code.google.com/p/pyfilesystem
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

fstree command has no way of recursing infinitely deep #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please provide any additional information below.
As per subject line. fstree calls print_fs, and print_fs uses a None parameter 
to signify infinite recursion (which you can't pass in from the command line).

The attached patch passes None to print_fs if the --level supplied on the 
command line is less than zero.

Original issue reported on code.google.com by gc...@loowis.durge.org on 23 May 2011 at 1:09

Attachments:

GoogleCodeExporter commented 9 years ago
Applied, thanks.

Original comment by willmcgugan on 26 May 2011 at 10:55