Ticket #3588 enhancement closed fixed
Convenience method for repeated FilePath.parent()
|Reported by:||jml||Owned by:|
(diff, github, buildbot, log)
It would be nice if FilePath let you do something like:
path = FilePath(__file__).parent(3)
where the above was equivalent to:
path = FilePath(__file__).parent().parent().parent()
Having a differently named function would be OK too.
Note: See TracTickets for help on using tickets.