Convenience method for repeated FilePath.parent()
|Reported by:||Jonathan Lange||Owned by:|
branch-diff, diff-cov, branch-cov, buildbot
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.
Change History (17)
comment:11 Changed 8 years ago by
|Status:||assigned → new|
Note: See TracTickets for help on using tickets.