Cannot rename an osfs resource if the target name is inside an adhoc directory
|Reported by:||jml||Owned by:||cablehead|
From the osfs.OSFile.rename method,
# XXX spiv 2005-12-15 # assumes newParent is also an OSDirectory. Probably should politely # decline (rather than break with an undefined error) if it's not.
It will raise an AttributeError, because adhoc directories don't have a realPath attribute, in general.
Change History (3)
Note: See TracTickets for help on using tickets.