Ticket #3588 enhancement closed fixed
Convenience method for repeated FilePath.parent()
| Reported by: | jml | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | branches/parents-3588 | |
| Author: | glyph | Launchpad Bug: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

